Name
man
Synopsis
man [options] [section] [title]
Displays information from the online reference manuals.
man locates and prints the named
title from the designated reference
section.
Options
-
-a Show all pages matching title.
-
-d Display debugging information. Suppress actual printing of man pages.
-
-f Same as
whatiscommand.-
-h Print help and exit.
-
-k Same as
aproposcommand.-
-msystems Search
systems' manpages.systemsshould be a comma-separated list.-
-Mpath Search for manpages in
path. Ignore-moption.-
-ppreprocessors Preprocess manpages with
preprocessorsbefore turning them over tonroff,troff, orgroff. Always runssoelimfirst.-
-Ppager Select paging program
pagerto display the entry.-
-Ssections Define colon-separated list of
sectionsto search.-
-t Format the manpage with
troff.-
-w Print pathnames of entries on standard output.
Section names
Manpages are divided into sections, depending on their intended audience:
-
1 Executable programs or shell commands
-
2 System calls (functions provided by the kernel)
-
3 Library calls (functions within system libraries)
-
4 Special files (usually found in
/dev)-
5 File formats and conventions
-
6 Games
-
7 Macro packages and conventions
-
8 System administration commands (usually only for a privileged user)
-
9 Kernel routines (nonstandard)
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access