first, Linux common commands1. View the Help document
A.--help
Linux command comes with help information
Example: LS--help # View the Help information for LS
B.man
Man is a handbook provided by Linux that contains most of the commands, function instructions
The manual is divided into chapters (sections), which can be used to specify different chapters to browse using man.
Example: Man ls; Mans 2 printf
The meanings of each section in man are as follows:
- Standard commands (normal command)
- System calls (systems calls, such as Open,write)
- Library functions (libraries functions, such as Printf,fopen)
- Special devices (description of the device file, various devices under/dev)
- File formats (files format, such as passwd)
- Games and toys (gaming and entertainment)
- Miscellaneous (Miscellaneous, conventions and agreements, such as Linux file systems, network protocols, ASCII codes; environ global variables)
- Administrative Commands (administrator commands, such as Ifconfig)
Man is searched in the order of chapter numbers in the manual.
The man set the following function keys:
| function keys |
function |
| Space key |
Show the next screen of the man page |
| Enter key |
One row of the scroll manual page |
| B |
Roll back one screen |
| F |
Roll forward one screen |
| Q |
Exit Man command |
| H |
List all function keys |
| /word |
Search Word string |
linux--Common Commands