当我尝试获得有关Unix命令的帮助时,我得到说tar(1)或lsof(8)引用。
为什么在括号内有一个数字,它究竟是指什么?
手册分为章节,有些主题实际上logging了两次,当有一个C库函数或系统调用也可以作为用户空间命令使用时,或者一个configuration文件可以与命令它的文件(例如: chown是一个用户空间命令和一个系统调用,你可以在第1节和第2节findchown )。 该号码然后用于select适当的章节:
man 1 ls
是的,SvW说。 您可以通过input以下内容从人自身获取完整文档:
$ 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), eg man(7), groff(7) 8 System administration commands (usually only for root) 9 Kernel routines [Non standard]