$: man man
man(1) man(1)
NAME
man - format and display the on-line manual pages
SYNOPSIS
man [-acdfFhkKtwW] [--path] [-m system] [-p string] [-C config_file]
[-M pathlist] [-P pager] [-B browser] [-H htmlpager] [-S section_list]
[section] name ...
DESCRIPTION
man formats and displays the on-line manual pages. If you specify sec-
tion, man only looks in that section of the manual. name is normally
the name of the manual page, which is typically the name of a command,
function, or file. However, if name contains a slash (/) then man
interprets it as a file specification, so that you can do man ./foo.5
or even man /cd/foo/bar.1.gz.
See below for a description of where man looks for the manual page
files.
MANUAL SECTIONS
The standard sections of the manual include:
1 User Commands
2 System Calls
3 C Library Functions
4 Devices and Special Files
5 File Formats and Conventions
6 Games et. Al.
7 Miscellanea
8 System Administration tools and Deamons
Distributions customize the manual section to their specifics, which
often include additional sections.
OPTIONS
-C config_file
Specify the configuration file to use; the default is
:
1 User Commands
2 System Calls
3 C Library Functions
4 Devices and Special Files
5 File Formats and Conventions
6 Games et. Al.
7 Miscellanea
8 System Administration tools and Deamons
Distributions customize the manual section to their specifics, which
often include additional sections.
OPTIONS
-C config_file
Specify the configuration file to use; the default is
/etc/man.config. (See man.config(5).)
-M path
Specify the list of directories to search for man pages. Sepa-
rate the directories with colons. An empty list is the same as
not specifying -M at all. See SEARCH PATH FOR MANUAL PAGES.
-P pager
Specify which pager to use. This option overrides the MANPAGER
environment variable, which in turn overrides the PAGER vari-
able. By default, man uses /usr/bin/less -is.
-B Specify which browser to use on HTML files. This option over-
rides the BROWSER environment variable. By default, man uses
/usr/bin/less-is,
-H Specify a command that renders HTML files as text. This option
overrides the HTMLPAGER environment variable. By default, man
uses /bin/cat,
-S section_list
List is a colon separated list of manual sections to search.
This option overrides the MANSECT environment variable.
-a By default, man will exit after displaying the first manual page
it finds. Using this option forces man to display all the man-
ual pages that match name, not just the first.
-c Reformat the source man page, even when an up-to-date cat page
exists. This can be meaningful if the cat page was formatted
for a screen with a different number of columns, or if the pre-
formatted page is corrupted.
1、Standard commands (标准命令)
2、System calls (系统调用)
3、Library functions (库函数)
4、Special devices (设备说明)
5、File formats (文件格式)
6、Games and toys (游戏和娱乐)
7、Miscellaneous (杂项)
8、Administrative Commands (管理员命令)
9 其他(Linux特定的), 用来存放内核例行程序的文档。
n 新文档, 可能要移到更适合的领域。
o 老文档, 可能会在一段期限内保留。
l 本地文档, 与本特定系统有关的。
所以在,Linux当中如果想查找一个命令或这一个函数的用法可以用 man +选项即可