man手册分类
| 序号 | 英文 | 中文 |
|---|---|---|
| 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 | 文件格式和约定 |
| 6 | Games | 游戏 |
| 7 | Miscellaneous (including macro packages and conventions) | 杂项(包括宏和惯例) |
| 8 | System administration commands (usually only for root) | 系统管理命令(通常仅适用于root用户) |
| 9 | Kernel routines [Non standard] | 内核例程(非标准) |
man手册的主要内容结构
| 标题 | 描述 |
|---|---|
| NAME | 命令名称和用途(摘要) |
| SYNOPSIS | 命令语法(摘要) |
| DESCRIPTION | 详细描述命令作用,及其 选项、参数的作用 |
| OPTIONS | 选项和参数 |
| AUTHOR | 作者 |
| COPYRIGHT | 版权 |
| SEE ALSO | 其他参考 |
| BUGS | bugs |
OPTIONS
options:命令选项有两种形式:长选项(--)和短选项(-)
长选项: 用 -- 引导,后面跟完整的单词, --version --help
短选项: 用 - 引导,后面跟单个的字符并且可以适当连用, -a -h -v
