So, for example, when I type man ls I see LS(1). But if I type man apachectl I see APACHECTL(8) and if I type man cd I end up with cd(n).
I'm wondering what the significance of the numbers in the parentheses are, if they have any.
|
So, for example, when I type I'm wondering what the significance of the numbers in the parentheses are, if they have any. |
|||||||||
|
|
The number corresponds to what section of the manual that page is from; 1 is user commands, while 8 is sysadmin stuff. The man page for man itself (
There are certain terms that have different pages in different sections (e.g.
You can tell what sections a term falls in with
|
|||||||||||||
|
|
The history of these section numbers goes back to the original Unix Programmer's Manual by Thompson and Ritchie in 1971. The original sections were
|
|||
|
|
|
What is's means already described, but I also wants to add that each section has special manual page with introduction: |
|||
|
From the
As to why they're separate like that -- there's some overlap. Certain manpages exist in more than one section depending on what you mean. For instance, compare |
|||||||||
|
|
These are section numbers.
Just type |
|||
|
|