How to view the Linux command help? --help and man

View command help


learning target

  • View command help to know the way

1. Check the Help command mode

  • -help use: command --help
  • man Instructions: man command

View command help explain the purpose of:

  • View command to view the command options aim is to help information

-help renderings:

[Image dump the chain fails, the source station may have security chain mechanism, it is recommended to save the picture down uploaded directly (img-E2SuwY8J-1583850407886) (imgs / help.png)]

man renderings:

[Image dump the chain fails, the source station may have security chain mechanism, it is recommended to save the picture down uploaded directly (img-Tcl8JpN4-1583850407887) (imgs / man.png)]

man description of the command:

Operation keys Explanation
Blank Display the next screen
Enter Display the next line.
b Information is displayed on a screen
f Display the next screen
q drop out

2. Summary

  • -help and man are two ways to view the command help, mainly option to view command information corresponding to
Published 698 original articles · won praise 929 · views 120 000 +

Guess you like

Origin blog.csdn.net/qq_35456045/article/details/104785210