*nix commands (and functions?) have a number with them, like fsck(8)
, killall(1)
, etc.
What does the number mean?
*nix commands (and functions?) have a number with them, like fsck(8)
, killall(1)
, etc.
What does the number mean?
The character explicitly specifies the section that the manual page is part of. On most Unices, the section definitions are as follows:
SysV has a similar, but not identical structure:
General commands
(M) System administration commands and daemons
On some systems, the following sections also exist:
open()
which can be in the C
or perl
man pages. man -f
will show you all of them, e.g. man -f open
– Aaron D. Marasco
Dec 25 '11 at 02:18
In addition to the answers already provided. Keep in mind that some Unix don't have the 8 number in their man's categories, but have the 1M instead.
Unix System V uses a similar numbering scheme, except in a different order:
Section Description
1 General commands
1M System administration commands and daemons
2 System calls
3 C library functions
4 File formats and conventions
5 Miscellanea
6 Games and screensavers
7 Special files (usually devices, those found in /dev) and drivers
from Wikipedia.
The number is the manpage it refers to. Each manpage has its own purpose, like beeing the manpage for the POSIX definition or specific linux definition (for programmers) or the manpage for the tools usage itself, if you can invoke it from the commandline.
the purpose of the specific manpage is covered in the first section
man 8 fsck
will show you the specific page
man -a fsck
will show you page after page after you quit with q
man -f
to show where it could be, then just display the one I want.
– Aaron D. Marasco
Dec 25 '11 at 02:17