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出来。

转载于:https://my.oschina.net/ydp/blog/67058

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值