[email protected] ~]# cat /etc/redhat-release CentOS Linux release 7.7.1908 (Core) [[email protected] ~]#
You can refer to the command manual with the * Linux *
When referencing the
cp command, the command is as follows.
[[email protected] ~]# man cp
CP(1) User Commands CP(1) NAME cp - copy files and directories SYNOPSIS cp [OPTION]... [-T] SOURCE DEST cp [OPTION]... SOURCE... DIRECTORY cp [OPTION]... -t DIRECTORY SOURCE... DESCRIPTION Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY. Mandatory arguments to long options are mandatory for short options too. -a, --archive same as -dR --preserve=all --attributes-only don't copy the file data, just the attributes --backup[=CONTROL] Manual page cp(1) line 1 (press h for help or q to quit)
Here, ** CP (1) ** is displayed, but the meanings of the numbers (section numbers) in ** () ** are as follows.
|1||Execution program or shell command|
|2||System call(Functions provided by the kernel)|
|3||Library call (function included in the program library)|
|4||Special file (usually/Files that exist under dev)|
|5||File formats and conventions (eg: /etc/passwd）|
|7||Various other things (including macro packages and customs).|
|8||System administration commands (usually for root)|
You can refer to the above section numbers with the following command.
[[email protected] ~]# man man
MAN(1)Man page utility MAN(1) name man -Online manual interface Format man [-C file] [-d] [-D] [--warnings[=warnings]] [-R encoding] [-L locale] [-m system[,...]] [-M path] [-S list] [-e extension] [-i|-I] [--regex|--wildcard] [--names-only] [-a] [-u] [--no-subpages] [-P pager] [-r prompt] [-7] [-E encoding] [--no-hyphenation] [--no-justifi‐ cation] [-p string] [-t] [-T[device]] [-H[browser]] [-X[dpi]] [-Z] [[section] page ...] ... man -k [apropos options] regexp ... man -K [-w|-W] [-S list] [-i|-I] [--regex] [section] term ... man -f [whatis options] page ... man -l [-C file] [-d] [-D] [--warnings[=warnings]] [-R encoding] [-L locale] [-P pager] [-r prompt] [-7] [-E encoding] [-p string] [-t] [-T[device]] [-H[browser]] [-X[dpi]] [-Z] file ... man -w|-W [-C file] [-d] [-D] page ... man -c [-C file] [-d] [-D] page ... man [-?V] Description man is a system manual reference tool(Pager)is. man Arguments given to page Is usually the name of a program, utility, or function. To these arguments Search for and display related man pages. If section is specified, man is directly in the manual section Search only pages within the section. Default behavior is available Sections Search all in a predefined order and find the first page It is displayed. pages with multiple sections Only the first one is displayed, even if it is present in. The following table shows the section numbers in the manual and their sections. Indicates the type of page contained in. 1 Execution program or shell command 2 system call(Functions provided by the kernel) 3 Library call(Functions included in the program library) 4 Special file(Normal/Files that exist under dev) 5 File formats and conventions(Example: /etc/passwd) 6 games 7 Other things(Includes macro packages, conventions, etc.).. For example man(7)And groff(7)。 8 System management commands(Usually for root) 9 Kernel routine[Non-standard] ～～～～～～～～～～～ abridgement ～～～～～～～～～～～