Official documentation

Where to read more: the GNU Bash Reference Manual and its sections on expansions, conditionals and builtins.

Runs in Zerethon IDE · Bash 5.2 Official Bash documentation ↗

This reference covers the parts you need most often. The GNU Bash Reference Manual is complete and free to read:

  • Shell syntax — quoting, comments, and how a command line is read.
  • Shell expansions — ${...}, $(...), $((...)), brace and file name expansion.
  • Conditional constructs and conditional expressions — if, case, [[ ]] and its tests.
  • Shell builtin commands — read, printf, declare, set, trap and the rest.