Linux down command: Quickly delete the command that the current line has been knocked on: Ctr+u or ctr+/
Quickly delete the current line just enter the word near the current position of the mouse: ctr+w
The above are applicable under Xshell and SECURECRT
Command |
Meaning |
Note |
Reboot |
Restart |
|
Ifconfig |
View IP |
|
Hostname |
Host Name |
|
service iptables Status |
View firewall status |
|
Setup |
Configure static IP or manual window mode |
|
Ls |
Show your Directory |
|
mkdir Haozhulin |
Create a folder Haozhulin |
|
CD /home/haozhulin/ |
Open the Haozhulin folder |
|
Cd.. |
Opens the parent directory and displays |
|
pwd Source |
View the current directory specific path |
|
MV [source] [Target] |
Rename or move a file |
|
CP Source Target |
Copy files/folders |
|
rm –RF Folder RM –f File |
Delete files/folders |
|
tar –zxvf ab.tar.gz |
Extract to current directory |
Tar Packaging and compression -ZXVF can be abbreviated as ZXVF . |
tar–zxvf –c/home/cc |
Unzip to the specified directory |
TAR–ZCVF Ab/tar.gz/home/aa |
Packaging a folder AA |
Command |
Meaning |
Getconf Long_bit |
See if the system is 32-bit or 64-bit |
|
|
CentOS command Essay