man - display online manual documentation pages
Display system manual for the `man` command
In this short, we're viewing the system manual (i.e., "the man pages") for
the man
command itself. This example is provided for those
that want to learn more about how man pages are structured to get the most
out of the online documentation.
Using the cat command
The man
command's output is piped to the cat
command in these examples only for the purposes of paging the output via
the less
command (the default behavior for man
).
man - display online manual documentation pages
Showing man page sections
man
command using the -S option.
The SEE ALSO section
Take special notice of the SEE ALSO section after viewing the initial
man intro
command and how it shows further information in the
following sections:
man(1) intro(2) intro(4) intro(8)
To further inspect those new sections of the manual,
use the -S option to specify the section of interested. In this case, we'll
further inspect section 2 of the intro
command. Alternatively, you can leave
off the -S option and lookup the section with the following:
man 2 intro
Using the cat command
The man
command's output is piped to the cat
command in these examples only
for the purposes of paging the output via the less
command (the default
behavior for man
).
Using the clear command
The clear
command is used here to make the example easier to
read, but you can use it any time you need a clean slate in your terminal.