1 * Copyright (c) Level 2012, Yantai University School of Computer Science
2 * All rights reserved.
3 * Pay Record Super
4 * Completion Date: April 7, 2015
5 * Version number: v1.0
6 * Learning topic: Command Help
7 * Usage Environment: Linux command line
8 * Benefits of Use:
9 * Usage Time:
10 * How to use:
11 * Learning Content:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/5D/BD/wKiom1Uj0nGA6OVRAADXYMcBlEg443.jpg "title=" command help. jpg "alt=" wkiom1uj0nga6ovraadxymcbleg443.jpg "/>
First, use the command manual Man Cloud Spark
Mans command
Call Path/usr/share/doc/man
The specific contents of each chapter of man
1: Command user, anyone can use
2:system Call system Calls
3: library Call
4: Special files (device files)
5: File format (syntax for configuration file) Example: Man 5 passwd
6:games
7: Miscellaneous
8: Management Commands
whatis Command View commands in which chapter of man
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/5D/B7/wKioL1Ujxo7AyuaLAACXlZpqDO0471.jpg "title=" Whatis.jpg "alt=" Wkiol1ujxo7ayualaacxlzpqdo0471.jpg "/>
<> Required Options
[] selectable options
... can appear multiple times
Name: command names and features brief description
Sysnopsis: Usage notes, including available options
Description: A detailed description of the command function that reports the meaning of each option
Options: Explaining the meaning of each option
Files: The configuration file associated with this command
Bugs: Provide bug to original author
Examfiles: Using the example
See also: another reference
Find in Man manual
/keyword looking backwards from the front
? Keyword looking forward from behind
N: Next Match option
N: Previous Match option
Help command use
1:help command (for system commands)
-S displays only a small amount of information
Determine if the command is an internal command
Method 1:type Command
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/5D/BC/wKiom1Ujx36hN3nEAACenR9oR5w968.jpg "title=" Type.jpg "alt=" Wkiom1ujx36hn3neaacenr9or5w968.jpg "/>
Method 2:compgen-b
c650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/5D/B7/wKioL1UjyYvREQa8AACel5hVoro407.jpg "title=" Compgen.jpg "alt=" Wkiol1ujyyvreqa8aacel5hvoro407.jpg "/>
Method Three: Manbuiltin lists all the built-in commands
Command-help Suitable for external commands
Forum CU Linuxsir
This article is from "Cloud Spark" blog, please make sure to keep this source http://lingyunxinghuo.blog.51cto.com/9876729/1629808
Linux Get Help