Bash Manual logo

Bash Manual

Free

Official reference manual for the Bash shell (version 5.3)

FreeFree tier
Type
Open Source
Company
GNU Project

About Bash Manual

The GNU Bash Reference Manual is the official documentation for the Bash shell (version 5.3, May 2025). It provides a comprehensive description of all Bash features, including shell syntax, quoting, commands, pipelines, shell functions, parameters, expansions (brace, tilde, parameter, command substitution, arithmetic, process substitution, word splitting, filename expansion, pattern matching), redirections, execution environment, shell scripts, builtin commands, shell variables, interactive shell behavior, conditional expressions, arithmetic, aliases, arrays, directory stack, prompt customization, restricted shell, POSIX mode, job control, command line editing with Readline, and interactive history usage. This manual is intended as a reference, with the Bash manual page serving as the definitive source for shell behavior.

Key Features

Comprehensive documentation of all Bash shell features
Covers shell syntax, quoting, and comments
Describes shell commands including pipelines, lists, compound commands, coprocesses, and GNU Parallel
Details shell functions and parameters (positional and special)
Explains all shell expansions: brace, tilde, parameter, command substitution, arithmetic, process substitution, word splitting, filename expansion, quote removal
Thorough coverage of redirections: input, output, here documents, here strings, file descriptors
Documents command execution, environment, exit status, and signals
Includes shell scripts and execution
Lists all shell builtin commands (Bourne Shell builtins and Bash builtins)
Describes shell variables (Bourne and Bash-specific)

Pros & Cons

Pros
  • Official and authoritative documentation from the GNU Project
  • Covers all Bash features in depth, including advanced topics like programmable completion and process substitution
  • Free and open-source
  • Regularly updated (version 5.3, May 2025)
  • Structured with table of contents for easy navigation
Cons
  • Primarily a reference manual, not a beginner-friendly tutorial
  • Extremely technical and dense, may be overwhelming for new shell users
  • Assumes prior knowledge of shell concepts

Best For

Writing and debugging shell scriptsSystem administration and task automationUnderstanding advanced Bash features for interactive command line usageLearning about job control and process management in BashCustomizing command line editing with Readline

FAQ

What is Bash?
Bash is a command interpreter and shell scripting language that combines features from the Bourne Shell (sh), the Korn Shell (ksh), and the C-shell (csh/tcsh). It includes both common shell features and unique Bash-specific capabilities.