ack*_*ack 7 unix linux command-line manpage
可能重复:
为什么类Unix环境中的程序在其名称后面有数字?
(1)是什么意思?
cha*_*aos 14
它是man页面所在的手册部分.来自man man:
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 conven-
tions), e.g. man(7), groff(7)
8 System administration commands (usually only for root)
9 Kernel routines [Non standard]
Run Code Online (Sandbox Code Playgroud)
之前提交的所有答案都是正确的 - (1)是指在线手册页的部分.但你的下一个问题也许是:为什么要参考手册部分呢?
答案是相同的单词或命令可能出现在不同的部分.例如,"passwd"指的是更改密码的命令和文件/ etc/passwd.因此,如果你在谈论前者,你应该写passwd(1),当谈到后者时,写passwd(5).
该男子命令有强制其使用特定的部分,而不是从开始到结束搜索的方式.在我的Unix系统(Mac)上,只需键入man passwd就会显示第1部分中的条目.要显示第5部分中的条目,请使用
man 5 passwd
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
347 次 |
| 最近记录: |