Results 1 to 8 of 8
At looking at the man pages (online and locally) for several commands I started noticing that there is always some sort of specification in the format <cmd(#)>.
For example:
chmod(1)
...
- 07-25-2007 #1Just Joined!
- Join Date
- Jul 2007
- Posts
- 15
What do the numbers mean?
At looking at the man pages (online and locally) for several commands I started noticing that there is always some sort of specification in the format <cmd(#)>.
For example:
chmod(1)
chmod(2)
cp(1)
symlink(7)
stat(2)
stat(5)
(I got some of those from here but I also see them in the SEE ALSO section of my man pages).
What do the numbers mean? Why do some commands have different numerical options (is that the correct term for this?)?
- 07-25-2007 #2Linux Enthusiast
- Join Date
- Aug 2006
- Posts
- 631
Here's some information about this issue:
Manual page (Unix) - Wikipedia, the free encyclopedia
Regards
- 07-25-2007 #3
This is from manual of man command.
The table below shows the section numbers of the manual followed by the types of pages they contain.
1 Executable programs or shell commands
2 System calls (functions provided by the kernel)
3 Library calls (functions within program libraries)
4 Special files (usually found in /dev)
5 File formats and conventions eg /etc/passwd
6 Games
7 Miscellaneous (including macro packages and conventions), e.g. man(7), groff(7)
8 System administration commands (usually only for root)
9 Kernel routines [Non standard]Code:man <section number> <command>
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 07-25-2007 #4Just Joined!
- Join Date
- Jul 2007
- Posts
- 15
Awsome. I can now start reading more into this.
Thanks.
- 07-26-2007 #5
- 07-26-2007 #6It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 07-26-2007 #7
- 07-26-2007 #8
Okk ! I get it now.
I didn't even imagine that someone will look into code so keenly.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote
