Linux man 后面的数字含义及作用

转载自:http://blog.csdn.net/dxdxsmy/article/details/6888065

感谢原作者。


平时我们开发中碰到陌生的命令或者函数,通常会找man来帮助下,通过man后面加的数字可以看到关于命令或者函数更深层次的东西。

或者通过比较命令和函数加深了解你需要的知识。

如下是man后面的数字代表的含义。

Section 1
user commands ( introduction)
Section 2
system calls ( introduction)
Section 3
library functions ( introduction)
Section 4
special files ( introduction)
Section 5
file formats ( introduction)
Section 6
games ( introduction)
Section 7
conventions and miscellany ( introduction)
Section 8
administration and privileged commands ( introduction)
Section L
math library functions
Section N
tcl functions


中文含义如下:

             1 用户命令, 可由任何人启动的。

2 系统调用, 即由内核提供的函数。

3 例程, 即库函数。

4 设备, 即/dev目录下的特殊文件。

5 文件格式描述, 例如/etc/passwd。

6 游戏, 不用解释啦!

7 杂项, 例如宏命令包、惯例等。

8 系统管理员工具, 只能由root启动。

9 其他(Linux特定的), 用来存放内核例行程序的文档。

n 新文档, 可能要移到更适合的领域。

o 老文档, 可能会在一段期限内保留。


l 本地文档, 与本特定系统有关的。

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值