linux man手册中的section

man for manual,是linux中必需掌握的几个指令之一(或者说之首)。

手册中分为几个section,section号与其对应的内容为:

 

     1 Executable programs or shell commands  #可执行程序或shell命令

    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  #文件格式和习惯(例如passwd文件)

    6 Games 

    7 Miscellaneous (including macro packages and conventions), e.g. man(7), groff(7) 

    8 System administration commands (usually only for root)  #系统管理命令,一般只能为root执行

    9 Kernel routines [Non standard] 

 

section下再分为page,我们用man命令查看的就是page。

每个page都有一个名字name,例如kill,ls,passwd。

不同的section可能含有相同名字的page,例如section(1)、section(2)都含有叫kill的page,这两个page表示为kill(1),kill(2),括号中的数字为section号,表示在对应section中的page。

在不指定section的情况下,man会显示最小section号的page出来。

你可能感兴趣的:(linux,指令,man)