Linux Command help
Help (get brief help information)
L internal command: help command
L external command: command -- help
L how can I differentiate whether a command is an internal command or an external command?
Type command
1) command is a shell builtin is an internal command
2) The external command is displayed as the command path.
Man (command User Manual)
Man is a compressed text document with chapters
L man's chapter
1) user commands: commands or Coco execution files that can be operated by users in shell Environments
2) System Call: Functions and tools that can be called by the system core
3) database users: common functions and libraries)
4) special file (Device File): description of the device file, usually under/dev
5) file format: the format of the configuration file or some files
6) games
7) Descriptions of conventions and protocols, such as Linux file systems, network protocols, and ASCII code
8) Available management commands of the system administrator
9) kernel-Related Files
L man num command: num indicates the unit sequence number. If this parameter is not set, it ranges from 1 ~ 8. Show the first appearance Information
L whatis: displays the unit where commands appear in man.
L man format:
[]: Can be omitted
|: Select one more
<>: Required.
... : Can appear multiple times
{}: The group has no special significance.
NAME: command NAME and function description
SYNOPSIS: usage instructions, including available options
DESCRIPTION: A detailed DESCRIPTION of the command function. It may include the meaning of each option.
OPTIONS: Meaning of each option
FILES: configuration file related to this command
See also: For more information, SEE
L man Paging
Flip one page backward: space | pageDown key
One page forward: B | pageUp key
One Line Backward: enter
One row forward: k key
Search:/match characters backward
? Forward matching character
Multiple matching results, n for the next, N for the previous,/and? Opposite
Exit: q
Info (online manual)
Supplemented by main, which is similar to man
Command instructions
Storage path: cd/usr/share/doc
Ls