Manual: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Most UNIX systems have online manual pages. The types of manpages have sections which they are grouped in. Here is the layout of [[BSD]]: | Most UNIX systems have online manual pages. The types of manpages have sections which they are grouped in. Here is the layout of [[BSD]]: | ||
section 1 | section 1 | ||
general commands (tools and utilities) | general commands (tools and utilities) | ||
section 2 | section 2 | ||
system calls and error numbers | system calls and error numbers | ||
section 3 | section 3 | ||
the C libraries | the C libraries | ||
section 4 | section 4 | ||
special files and hardware support | special files and hardware support | ||
section 5 | section 5 | ||
file formats | file formats | ||
section 6 | section 6 | ||
the games | the games | ||
section 7 | section 7 | ||
miscellaneous information pages | miscellaneous information pages | ||
section 8 | section 8 | ||
system maintenance and operation commands | system maintenance and operation commands | ||
section 9 | section 9 | ||
kernel internals | kernel internals | ||
When someone says to you "man 6 tetris" he means that you should read the tetris manpage in section 6 of the manpages. Sometimes the same name manpage exist but in different sections, one example is the fstat manpage it exists in sections 1 and 2. To see the manpage for fstat in section 2 you would type | When someone says to you "man 6 tetris" he means that you should read the tetris manpage in section 6 of the manpages. Sometimes the same name manpage exist but in different sections, one example is the fstat manpage it exists in sections 1 and 2. To see the manpage for fstat in section 2 you would type | ||
$ man 2 fstat | $ man 2 fstat |
Revision as of 05:06, 6 October 2005
Most UNIX systems have online manual pages. The types of manpages have sections which they are grouped in. Here is the layout of BSD:
section 1
general commands (tools and utilities)
section 2
system calls and error numbers
section 3
the C libraries
section 4
special files and hardware support
section 5
file formats
section 6
the games
section 7
miscellaneous information pages
section 8
system maintenance and operation commands
section 9
kernel internals
When someone says to you "man 6 tetris" he means that you should read the tetris manpage in section 6 of the manpages. Sometimes the same name manpage exist but in different sections, one example is the fstat manpage it exists in sections 1 and 2. To see the manpage for fstat in section 2 you would type
$ man 2 fstat