search
Get Started
search
Fish - Command Line
zoom_in Click to enlarge

Fish

language

description Fish Overview

Helpful behavior is built into fish, an interactive command-line shell whose name stands for 'friendly interactive shell.' It offers syntax highlighting and autosuggestions as commands are typed, using context such as command history to reduce repetitive input. Completions help users discover available options, making common terminal work easier to navigate without extensive initial configuration. The shell suits developers and other regular terminal users, including people learning command-line habits. Its appeal comes from useful defaults and immediate feedback rather than requiring a collection of add-ons to obtain those features.

Fish also has its own scripting language, which differs from the conventions used by Bash and other POSIX-style shells. That distinction matters when copying commands or running scripts: an interactive convenience does not make every existing shell script compatible, even though many external command-line programs work normally.

help Fish FAQ

How do I make Fish my default shell in Linux?

To make Fish your default shell, you use the `chsh` command followed by the path to the fish executable, usually `/usr/bin/fish`. First released in 2005, Fish operates as a standalone shell and does not strictly adhere to POSIX standards like Bash.

Does the Fish shell support Bash syntax?

No, Fish (Friendly Interactive Shell) intentionally does not support POSIX-compliant Bash syntax to promote a simpler, cleaner scripting language. This means standard Bash scripts or `.bashrc` aliases must be rewritten or translated into Fish syntax.

How do I configure aliases in Fish shell?

Instead of editing traditional text files like `.bashrc`, Fish users typically create aliases using the `alias` command and save them via the `funcsave` command. Fish manages these functions in its `~/.config/fish/functions/` directory, automatically loading them on startup.

Does Fish shell have built-in autosuggestions?

Yes, Fish is famous for its extensive out-of-the-box user-friendly features, including real-time autosuggestions based on your command history. It also features advanced syntax highlighting that updates as you type to indicate if a command is valid.

Reviews & Comments

Write a Review

rate_review

Be the first to review

Share your thoughts with the community and help others make better decisions.

Save to your list

Save your favorites and follow how their scores change over time.

Save favorites
Track changes
Compare scores

Already have an account? Sign in

Compare Items

See how they stack up against each other

Comparing
VS
Select 1 more item to compare