从man手册中查看man的使用方法:
DESCRIPTION
man is the system’s manual pager. Each page argument given to man is normally the name of a program, utility or function. The manual page associated with each of these arguments is then found and displayed. A section, if provided, will direct man to look only in that section of the manual. The default action is to search in all of the available sections following a pre-defined order (“1 n l 8 3 2 3posix 3pm 3perl 3am 5 4 9 6 7” by default, unless overridden by the SECTION directive in /etc/manpath.config), and to show only the first page found, even if page exists in several sections.
The table below shows the section numbers of the manual followed by the types of pages they contain.
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]
| 代号 | 代表的含义 |
|---|---|
| 1 | 用户在shell环境下可操作/可执行的命令 |
| 2 | 系统内核可调用的函数与工具 |
| 3 | 一些常用的函数与函数库,大部分C的函数库 |
| 4 | 设备文件的说明,通常是在 /dev下的设备 |
| 5 | 配置文件或某些文件的格式 |
| 6 | 游戏 |
| 7 | 管理与协议等,例如Linux文件系统、网络协议等 |
| 8 | 系统管理员可用的命令 |
| 9 | 与Kernel有关的文件 |
本文详细介绍了man命令的使用方法,man是Unix和Linux系统中的手册页查看器,用于查阅各种命令、函数等的手册页。文章解释了不同数字标识的手册页所对应的文件类型,如执行程序、系统调用、库函数等。

3192

被折叠的 条评论
为什么被折叠?



