linux man 命令的使用方式 与 man 命令的解释
2010-12-02 11:40
274 查看
在Linux的shell下经常要使用man命令来查看一些不熟悉的命令的使用方法。man就是manual的缩写,用来查看系统中自带的各种参考手册,但是手册页分为好几个部分,可大家知道数字代表什么意思吗?如下所示:
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]
在shell中输入 man+数字+命令/函数 即可以查到相关的命令和函数。若不加数字,那man命令默认从数字较小的手册中寻找相关命令和函数。
如要查看proc 文件的格式描述,执行如下命令
man 5 proc
上述命令你就能看到/etc/proc下面每个文件的格式描述,代表什么信息等;这样你就可以不用再到网上找相关信息了,直接看最原始版:)
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]
在shell中输入 man+数字+命令/函数 即可以查到相关的命令和函数。若不加数字,那man命令默认从数字较小的手册中寻找相关命令和函数。
如要查看proc 文件的格式描述,执行如下命令
man 5 proc
上述命令你就能看到/etc/proc下面每个文件的格式描述,代表什么信息等;这样你就可以不用再到网上找相关信息了,直接看最原始版:)
相关文章推荐
- linux man 命令的使用方式 与 man 命令的解释
- Linux中man命令的使用方法再解释
- Git的常用命令的使用方法和解释
- android adb 不同的方式使用特定的解释
- 使用vmstat命令查看系统资中各项的解释
- Linux man命令的使用方法
- ubuntu16.04安装pycharm生成快捷方式以及命令使用说明
- man命令使用
- 创建仓库的最简单方式是在命令行使用cvs init命令
- Linux man命令的使用方法
- 如何使用命令方式检测mx记录是否生效
- Linux man命令的使用方法
- 使用命令方式安装MongoDB指南(Windows、Linux)
- Linux man命令的使用方法(以及后面数字的含义)
- man命令的使用方法
- svn经常使用命令具体解释(非常全,非常有用)
- Linux中man使用方法及其他命令
- Linux man命令基本使用
- WebService使用方式(CXF命令)
- adb命令具体解释(二)——手机缺失sqlite3时操作数据库的多种解决方式