<keyword>
with the keyword or expression to search for.
man -f <keyward>
is the same as using the whatis
command<keyword>
and print out the short descriptions of any found.man -k <keyword>
is the same as using the apropos
command<keyword>
(as a regular expression).$ man 3 printf
-a
parameter will display the given command from all manual chapters$ man -a printf
The below list gives the chapter numbers of the different categories of man pages:
A man page consists of several sections. Conventional section names include:
NAME, SYNOPSIS, CONFIGURATION, DESCRIPTION, OPTIONS, EXIT STATUS, RETURN VALUE, ERRORS, ENVIRONMENT, FILES, VERSIONS, CONFORMING TO, NOTES, BUGS, EXAMPLE, AUTHORS, and SEE ALSO.
info
is the documentation format that the GNU Project prefers over man
info
with no arguments displays an index of available topics.info <keyword>
will search all info files for the Topic given by <keyword>
info
page is called a nodeinfo
index.*
) and ends with double-colons (::
)–help
or the -h
parameterman –help
-h
, some commands only use –help
, and many commands use bothhelp
commandgnome-help
khelpcenter
/usr/share/doc
directory