Bash (the Bourne again shell) is a Unix shell. It was intended as a free replacement to the Bourne shell and includes many scripting features from ksh. Bash is intended to conform to the POSIX 1003.2 standard.
Bash also includes more advanced interactive features such as command line editing with the readline library, command history, job control, dynamic prompts and completion.
Links and documentation
Related tags
- shell Many shell-agnostic questions are of interest to bash users.
- wildcards (or globbing): matching files based on their name
- command-history a history of commands that can be navigated with the
UpandDownkeys, searched, etc.; also a recall mechanism based on expanding sequences beginning with!. - autocomplete completion of partially-entered file names, command names, options and other arguments.
- prompt showing a prompt before each command, which many users like to configure.
Further reading
- What features are in zsh and missing from bash, or vice versa?
- Strange change directory
- Understanding the exclamation mark (!) in bash
- Preserve bash history in multiple terminal windows
- Bash autocomplete in ssh session
- How do I clear Bash's cache of paths to executables?
- Command-line completion from command history
- In Bash, when to alias, when to script, and when to write a function?
Books and Resources
- Bash Reference Manual
- Advanced Bash-Scripting Guide
- Bash Guide for Beginners by Machtelt Garrels
- Lhunath's Bash Guide
- The Command Line Crash Course (also a Powershell reference)
- Linux Shell Scripting Tutorial
