Get help with the use of commands
Internal command:
Help COMMAND
[[Email protected] etc]# type cd
CD is a shell builtin
[[email protected] etc]# Help CD
CD:CD [-l|-p] [dir]
Change the shell working directory.
External command:
COMMAND--help
[Email protected] etc]# type mkdir
mkdir Is/bin/mkdir
[Email protected] etc]# mkdir--help
Usage: mkdir [options] ... Directory...
Creates a directory if the specified directory does not exist.
Command manual: Manual
Info COMMAND
Whatis COMMAND
Mans COMMAND
Mans:
Name: command names and features brief description
Synopsis: Usage Notes
DESCRIPTION: Command function
Options: Explaining the meaning of each option
Files: This command-related configuration file
BUGS:
EXAMPLES: Using the example
See ALSO: Reference
<>: Required
[]: Optional
|: Choose one More
{}: Grouping
Man command to view page flipping
N: Next page
N: Previous Page
Flip Screen
Back: SPACE
Forward: b
Line backward: ENTER
Forward line: K
Find
/keywork: Backwards
N: Next
N: Previous
? Keywork: Forward
N: Next
N: Previous
Q: Exit
This article is from the "James Zhan Linux Advanced ops" blog, so be sure to keep this source http://jameszhan.blog.51cto.com/10980469/1872777
Linux Basics-linux getting commands Help