Help and Documentation Commands in Linux (original) (raw)

Last Updated : 7 Jan, 2026

Help and Documentation Commands in Linux are used to get detailed information about commands, their usage, available options, and functionality. These commands make it easier for users to understand how different tools work in Linux and help troubleshoot errors effectively.

Below is a list of important help and documentation commands that help users access command details easily in Linux.

help_and_documentation_commands_in_linux

Help and Documentation Commands in Linux

1. apropos

The apropos command is used to search the manual pages (man pages) for a specific keyword. It displays related commands and brief descriptions.

**Syntax:

apropos keyword

**Example:

apropos clear

**Output:

apropos

apropos clear

2. help

The help command is used to display information about built-in shell commands. It shows a short description and available options.

**Syntax:

help command_name

**Example:

help cd

**Output:

help

help cd

3. info

The info command displays detailed documentation about commands in a structured and scrollable format. It often contains more detailed explanations than man.

**Syntax:

info command_name

**Example:

info ls

**Output:

4. man

The man command is used to display the manual pages of a command. It provides complete documentation including description, options, syntax, and examples.

**Syntax:

man command_name

**Example:

man mkdir

**Output:

5. whatis

The whatis command is used to display a short one-line description of a command. It gives a quick idea of what a command does.

**Syntax:

whatis command_name

**Example:

whatis pwd

**Output:

whatis

whatis pwd

6. which

The which command is used to locate the executable file path of a command. It shows where the command is stored in the system.

**Syntax:

which command_name

**Example:

which cat

**Output:

which

which cat