Man's help information format: the man command or the configuration file command can not only obtain the help information of the command, but also the information of the configuration file. This command displays the help information in the more format. we can flip the page by space. L example: manls... Info & nb
Man gets help information
Format: man command or configuration file
This command not only obtains help information about the command, but also information about the configuration file. This command displays the help information in the more format. we can flip the page by space. L example: man ls is used to view the help information of ls. screenshots are not convenient because of the large amount of help information.
Man passwd, we know that this is not only a command but also a configuration file, so what is displayed at this time? In Linux, the command help information is displayed by default. we can use man 5 passwd to view the help information of the configuration file. If the configuration information we view does not return the same name as the command, we can view the configuration information help without adding "5.
Info for help
Format: info keyword
This command is not only used to view the help information of the commands we use, but also other information, such as a file and a directory. basically, you can view the help you want to view.
Example: View ls help information in info ls
Info etc view help information of etc directory
Compared with man, the two display different help information. This display is also displayed in more format. Sometimes we just want to see the options of the next command. we can use the command name + space + "-- help". This shows the options of the command, for example:
Ls -- help)
Sometimes this help information is too long. we just want to take a look at the simple help, you can use the following command.
Whatis obtains brief description about the index.
Format: whatis keyword
We can see that this command can not only view brief information about the command, but also view brief information about files in a directory.
Author: Meng Xiangyue's blog: blog.csdn.net/mengxiangyue (does Mr Meng need a blog website? As you wish, thank you for your article, which will make more new people better)