Ls |
View all files and folders under the current path |
Touch ' file name ' |
Create an empty file |
Mkdir |
Create a folder |
Pwd |
View the absolute path to the current directory |
RM ' File name ' |
Delete the specified file |
RM ' folder '-R |
Delete the specified folder |
Cd |
Switch directories |
CP ' files/folders ' Specify path |
Copy files/folders to a specified directory |
MV ' File/folder ' specified path |
Move files/folders to the specified directory |
Tree |
Display a table of contents in tree form |
Ifconfig |
View network information such as IP address |
Ping |
Test whether the network is healthy |
Clear |
Clear Screen |
-L |
Display as a list |
-H |
Display size |
-A |
Show all, that is hidden also can see |
Cat |
View File Contents |
More |
Split-screen display of file contents |
F |
View down |
B |
View up |
Q |
Exit |
| |
Indicates that the pipe is meant to link two commands such as LS | More split screen display |
Group |
Search for content in files such as: Grep-n ' content to search ' file name |
Find |
Search for a developed file under a path {1:-name search by filename 2:-size Search by file size |
TAR-CVF ' package name. tar ' file name |
Packaged |
TAR-XVF ' package name ' |
Unpack |
GZIP-ZCVF ' package name. tar.gz ' file name |
Pack first and then compress |
GZIP-ZXVF ' package name. tar.gz ' |
Unzip |
Command--help |
Help documentation |
W.H.O. |
View all logged-on users in the current system |
WhoAmI |
View the user currently in use |
Shutdown |
Shutdown |
Shutdown-h now |
Turn off restart now |
SSH User name @ip address |
Remotely log on to a computer |
Hostname |
Display host Name |
Uname |
Display System Information |
Netstat |
displaying network status information |
Kill |
Kill process |
Ps |
Show process Status |
Su ' account name ' |
Switch accounts |
passwd ' account name ' |
Modify User Password |
Useradd ' account name '-m |
Automatically create an account and automatically create a folder with the same name as the account name in the/home path, which is the family directory of the account |
Exit |
Launch Current Account |