Command type:
inline command: Shell inline
External command: An executable file that has the same path as the command in the file system
Environment variables: named memory space
Assigning values to variables
#printenv Display Environment variables
#hash Show Cache Hit command
Path: Using: A set of paths separated by
0 (1) Find data Speed standard
Get the command Help method:
1, #help command to get internal command Help, example help CD view CD command assistance information
2, # command--help Get External command help, example LS--help view ls command help information
3. # Man Command view command manual example man ls
Name: command names and function say
Synopsis: Usage notes include detailed available options
<> must choose
[] not required, optional
... Can be repeated multiple times
| Choose one More
DESCRIPTION: Describe the meaning of each option
Filees: The configuration file associated with this command
BUGS
EXAMPLES: Working with instances
See ALSO: Another reference
4. # info COMMAND online documentation
5. #/usr/shared/doc Help Documentation
6. Using Google search solution
#whatisCOMMAND View Chapters
Sub-chapters:
1. User commands
2. System calls
3. Library calls
4. Special documents (equipment files)
5. File format (configuration file syntax)
6.games
7. Miscellaneous
8. Management commands (/sbin/usr/sbin/usr/local/sbin)
Tips for viewing multi-page documents:
Turn Screen method:
Turn back one screen: space (space)
Turn One screen forward: b
Turn back one line: Enter (enter)
Turn One line forward: K
Find a keyword method:
/keyword Find String
n Backwards
N forward
? keyword
N Backwards
N forward
Common management Commands:
Directory Management
LS CD mkdir rmdir pwd
File Management
Touch Stat file rm cp MV Nan
Date Time
Date Clockhwclock cal
View text
Cat more less head tail
Text Processing
Cut join SED awk grep
Group, user Management
Useradd Userdel usermod passwd ID finger chsh chfn groupadd groupdel groupmod gpasswd su chmod chown chgrp
Statement format
If statement While Statement case statement for statement
Compression, decompression
Bzip2, GZIP,XZ, Zip,bunzip2,gunzip,unxz,tar
This article is from the "Wish_" blog, be sure to keep this source http://itwish.blog.51cto.com/11439802/1961079
Linux Learning notes-Get command Help methods and command categories