Linux man命令后的参数释义

本文详细介绍了man命令的使用方法,man是Unix和Linux系统中的手册页查看器,用于查阅各种命令、函数等的手册页。文章解释了不同数字标识的手册页所对应的文件类型,如执行程序、系统调用、库函数等。

从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有关的文件
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值