Summary three: Linux get command Help
One, command type view
Usage: type COMMAND
Second, Shell built-in commands
usage:helpCOMMAND
Third, external command
1 , get brief help information
usage:COMMAND--help
2 , get detailed help information ( user manual )
usage:manCOMMAND
Mans is actually Manual ( manual ) the abbreviation for one of its file paths: /usr/share/man/
(1). explanation of the paragraph name in the manual
NAME : Command name
DESCRIPTION : A detailed description of the command function
OPTIONS : All options
Synopsis : Using formatting
EXAMPLES : Using the example
FILES : The configuration file associated with the current command
See ALSO : Other manuals available for reference
(2). the format string in the manual:
[]: can be omitted
<> : cannot be omitted
| : Two Select one or more
... : Similar content can appear in multiple
{a|b} : a or b Choose a
(3). Man tips for using:
Flip Screen:
SPACEBAR : Flip a screen to the end of a file
b : Flip a screen to the file header
Enter: Flip a line to the end of the file
k : Flip a line to the file header
Ctrl+d : Turn half screen at the end of the file
Ctrl+u : Turn half screen to file header
String Search:
/keyword : Search from the file header to the tail
? keyword : Search from the end of the file
N : Shows the next found
N : Displays the last found
exit:Q
(4). Man Manual Chapters
Mans Can provide help manuals for configuration files other than commands, system calls, library calls, and so on, in separate chapters:
1 : User Commands
2 : System Call
3 : library Call
4 : Device file Format
5 : Configuration file
6 : Game
7 : Miscellaneous
8 : Manage Commands
Usage: Man [#] COMMAND # represent numbers
Attention:
How to see which chapters of a specified command are helpful, use the whatis command
usage:whatis COMMAND
Whatis A lookup operation is performed based on the database, which is updated periodically for the system; Makewhatis Manual Update.
3 , get online documentation
Usage:info COMMAND
generally only in Mans Manual is not available for sufficient information or to understand the development history of the program Info .
4 , many applications have their own Help documentation: /usr/share/doc/
ChangeLog : Changes in program version upgrades
INSTALL : Installation Method Description
README : Program Description Information
5 , view official documentation for the mainstream release, such as RedHat wait
document URL --redhat:http://www.redhat.com/docs/
6 , Inquire Google great God, most problems can be solved.
This article is from the "Hades Blog" blog, please be sure to keep this source http://hades02.blog.51cto.com/9768670/1671750
Summary three: Linux get command Help