Forever & AlwaysLINUX COMMAND ATLAS

LINUX COMMAND ATLAS · COMMAND GUIDE

Linux man command

Open the manual page for a command. Press q to leave the viewer.

Linux man-pages

Syntax

Command form
man [OPTION]... [[SECTION] PAGE ...]

Common options

6 options
OptionWhat it does
-k KEYWORDSearch manual page names and descriptions (apropos).
-f PAGEShow a short description of a manual page (whatis).
-a PAGEShow all matching manual pages, one after another.
-K TEXTSearch the full text of manual pages.
-w PAGEPrint the location of the manual page file.
-M PATHUse PATH as the manual page search path.

Usage examples

3 examples

Open the manual page for a command. Press q to leave the viewer.

man find

Open the manual page for ls.

man ls

Open section 5 documentation for the passwd file format.

man 5 passwd

Notes

Section numbers distinguish topics; for example, section 1 is commands and section 5 is file formats.