Sve*_*ven 20
该手册分为几章,有些主题实际上记录了两次,这通常是当有一个 C 库函数或系统调用也可以作为用户空间命令或与配置文件同名的配置文件时出现这种情况命令它记录(例如:chown是一个用户空间命令和一个系统调用,您可以chown在第 1 和第 2 节中找到)。然后使用该编号选择适当的章节:
man 1 ls
Run Code Online (Sandbox Code Playgroud)
小智 5
是的,SvW 说的。您可以通过键入以下内容从 man 本身获取完整文档:
$ man 1 man
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)