linux man - ghdrako/doc_snipets GitHub Wiki
Sometimes a man page with the same name will exist in different sections. To specify a section,
add a number before the command name. For example, to receive the same manual as above one
might run man 1 ls
.
The sections on most Unix-like operating systems are as follows:
- General commands, so commands that you typically run on the command line
- System calls
- Library functions, covering the C standard library
- Special files (usually devices, those found in /dev) and drivers
- File formats and conventions. This includes configuration files
- Games and screensavers
- Miscellaneous
- System administration commands and daemons
So, if you want to dig deeper into one of the topics we cover in this book, you’ll likely start by
looking in manpage sections 1, 5, and 8.
If you are unsure about what the name of the manual page you are looking for is, you can use
apropos <keyword>
or man -k <keyword>
to find it. It will print a list of all manual pages con-
taining the specified keyword.