fish
A user-friendly interactive shell with suggestions and colours that deliberately does not follow bash or POSIX syntax.
In more detail
Fish is pleasant at the prompt, but bash scripts and most copy-and-paste snippets from the web will not run in it unchanged. You can use fish interactively and still run bash scripts, because each script names its own interpreter in the shebang line.
Related terms
- Bash — The GNU shell: a program that reads commands, typed or from a script, and runs them.
- shebang — The first line of a script, starting with #!, that names the program the operating system should use to run it.
- zsh — An interactive shell close to bash in syntax, and the default login shell on macOS since Catalina (10.15).
Taught in
- What A Shell Is, And What Bash Is — Bash Scripting & Command Line Automation