Skip to main content
Linux ships with an extensive set of built-in manuals and help tools. Whether you need a quick reminder of flags or a deep dive into syntax, you can access all of it directly from the command line. This guide covers everything from --help to man pages, apropos searches, and shell autocompletion.

Quick Help with --help

Most commands support a --help or -h option for a concise overview:
Scroll through the output to find the -l flag for long listings:

Viewing Help in a Pager

Some tools pipe help text through a pager (usually less). For example:
Use ↑/↓ or Page Up/Page Down to navigate, then q to quit the pager.

Accessing Full Manuals with man

The man command opens detailed manual pages for nearly every tool:
A typical man page contains:
  • NAME: Brief description
  • SYNOPSIS: Command syntax
  • DESCRIPTION: Detailed behavior
  • OPTIONS: Available flags and switches
  • EXAMPLES: Usage scenarios (if provided)

Choosing the Right Section

Many entries exist in multiple man sections (e.g., printf). Specify the section number to disambiguate:
Section 1 is for user commands, while Section 3 covers C library functions.

Searching with apropos

When you only remember the topic, not the command name, apropos searches man-page descriptions:
If you get “no entry found,” update the man database before retrying:
To limit results to specific sections (e.g., 1 and 8):

Accelerating Work with Tab Completion

Shell autocompletion suggests commands, options, and paths.
  1. Type part of a command and press Tab to complete it, or press twice for a list.
  2. Use it to complete subcommands, flags, and file names.
For instance, list available systemctl verbs:
Complete a subcommand:
And file paths:

Practice and Exam Tips

  1. Pick an unfamiliar command.
  2. Explore it with --help and man.
  3. Use apropos to discover related tools.
  4. Rely on tab completion to speed up typing.
For the Linux Foundation Certified SysAdmin exam, all of these lookup methods are allowed. Mastering them will save you time and boost your confidence.

Summary of Documentation Tools

Watch Video

Practice Lab