Usage of linux man command
main is the most common help command and the most important help command in Linux , its basic information is as follows.
Command name: man.
English original meaning: format and display the on-line manual pages.
The path is: /usr/bin/man.
Execution permission: all users.
Function description: Display the online help manual.
Command format
[root@localhost ~]# man [选项]命令
Options:
-f: View which level of help the command has
-k: View All help related to commands
For example:
[root@localhost -]# man ls #获取ls命令的帮助信息
man command key description
1. Key-j Scroll down One line
2. Key-k Scroll up one line
3.backspace Turn one page down
4. Key-b Scroll up one page
5./keyword Search for keywords from top to bottom
6.?keyword Search for keywords from bottom to top
7.Button- n When searching for keywords, search for the next match in the same direction
8. Press key-N When searching for keywords, search for the next match in the opposite direction
9. Press key- h Get help from the manual
Recommended: [Linux Video Tutorial]
The above is the detailed content of Use of linux man command. For more information, please follow other related articles on the PHP Chinese website!