Bash - Help (Builtin command)

> Procedural Languages > Bash Shell and (Unix|Linux) Utilities (XCU)

1 - About

Display helpful information about builtin commands and shell control structures


3 - Syntax

Help without options will print help for all the:

help [-s] [pattern]


  • pattern gives detailed help on all commands matching pattern.
  • -s restricts the information displayed to a short usage synopsis.

4 - Return value

The return status is 0 unless no command matches pattern.

5 - Documentation / Reference