用Bollger记录技术之路的点滴...

关注高性能linux网络编程,NoSQL, c/c++/java ~~~ weibo @语_行 http://weibo.com/201281062~~~ twitter @JerryVector https://twitter.com/JerryVector
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

man命令使用

Posted on 2013-03-06 12:58  语行  阅读(239)  评论(0编辑  收藏  举报

我们知道,linux上 , man是一个很有用的命令,使用他可以帮助我们查看一个命令的使用手册。

有时候,当我们想查看linux一个系统函数的文档,如何来区分呢,可以这样使用:

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

 

 

如:man 2 read, 就可以查看read函数的文档