Premium lesson

The Command Manual

Shell·3 min read·Jan 1, 2025

As it is humanly impossible to memorize the syntax of hundreds of commands, most executable programs intended for command-line use provide a formal piece of documentation called a manual.

Although manual pages may vary in their format, they generally contain:

  • The command's name and summary.
  • A synopsis.
  • A detailed description.
  • A list of options.
  • A list of exit statuses.

Here is for example, an excerpt of the echo command's manual page:

NAME     echowrite arguments to the standard outputSYNOPSIS     echo [-n] [string ...]DESCRIPTION     The echo utility writes any specified operands, separated by single blank (' ') characters     and followed by a newline ('\n') character, to the standard output.
icon light bulb key

Unlock the CLI & Scripting with Bash module

Learn how to gain advanced control over the OS and automate complex routine tasks prone to manual errors with the CLI and Bash scripting.

You get immediate access to:

  • 34 focused lessons across the CLI and Bash
  • 4 real-world projects with commented solutions
  • Ongoing updates to this bundle
  • Lifetime access to this bundle
Unlock this module