Mal*_*ist 238 linux unix command-line c manpages
我一直在 Unix 或 Linux 或 C 函数中看到命令后面的括号和数字。
例如:man(8)、ftok(2)、mount(8)等。
这些是什么意思?我在男人身上也看到了它们。
bub*_*ubu 239
手册页部分。
ls(1)mmap(2)system(3)sudoers(4)lmhosts(5)fortune(6)regex(7)iwconfig(8)ksoftirqd(9)部分背后的原因是有些东西共享手册页 -
mkdir(1)是用于创建目录的命令,而是mkdir(2)可用于在 C 程序中创建目录的系统调用。因此,不同的部分。
带注释的参考文献[1,2](如建议):
http : //www.gsp.com/support/man/ - 根据
http://manpages.unixforum.co.uk/man-pages/部分安排的 FreeBSD 手册页linux/suse-linux-10.1/ - 根据
http://www.december.com/unix/ref/mansec.html部分安排的 SUSE 联机帮助页 - 联机帮助页部分的另一个表格。列表的初始基础(有关详细信息,请参阅本文的旧版编辑)
[1] 解释和例子是我脑子里自发的捏造,就此事而言。
[2] 并不是说它在学术上是合理的,而是要求参考是减缓维基百科发展的因素之一。怀疑论者试图让他人参考一切,一些捐助者只获得方式太恼火进一步回答什么,不就是那些谁尝试添加无用/毫无根据的东西,从池中正确地删除(他们只是参考请求标签标记添加到他们的内容中,内容未删除...)
ssa*_*ota 87
摘录自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)
Wuf*_*ers 37
该数字指的是命令或 C 函数所在的手册页部分。
因此,您可以mount(8)通过执行以下命令访问手册页:
man 8 mount
Run Code Online (Sandbox Code Playgroud)
或者ftok(2)像这样:
man 2 ftok
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
20770 次 |
| 最近记录: |