man
There are 8 sections in man
in standard:
/dev
ususally)./etc/passwd
).man(7)
, groff(7)
).When there are manual entries with same names in different sections, man will return the first entry it found. For instance, there are exit
command on section 1 (shell), section 2 (system call _exit
and _Exit
) and section 3 (library function exit
). Use man exit
gives the first entry about the shell. To select the section explicitly, add a section number after man, such as man 2 exit
.