2009-06-07 72 views

回答

14

这本手册的其man页住在从man man

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 conven- 
     tions), e.g. man(7), groff(7) 
    8 System administration commands (usually only for root) 
    9 Kernel routines [Non standard] 
1

它指的manual section -

 
1 General commands 
2 System calls 
3 C library functions 
4 Special files (usually devices, those found in /dev) and drivers 
5 File formats and conventions 
6 Games and screensavers 
7 Miscellanea 
8 System administration commands and daemons 
4
 1 General commands (tools and utilities). 
     2 System calls and error numbers. 
     3 Libraries. 
     3p perl(1) programmer's reference guide. 
     4 Device drivers. 
     5 File formats. 
     6 Games. 
     7 Miscellaneous. 
     8 System maintenance and operation commands. 
     9 Kernel internals. 

从 '人之为人' 的任何。合理的unix系统。

7

以前提交的所有答案都是正确的 - (1)指的是在线手册页的部分。但是你的下一个问题可能是:为什么要参考手册部分?

答案是相同的单词或命令可能出现在不同的部分。例如,“passwd”指的是更改密码的命令以及文件/ etc/passwd。因此,如果你在谈论前者,你应该写passwd(1),当谈到后者时,写passwd(5)

man命令有一种强制它使用特定部分而不是从头到尾搜索的方法。在我的Unix系统(在Mac),只是打字人的passwd将弹出出部分1的记录以显示部5的条目,请使用

man 5 passwd