Restart the network service: service network restart
Closed: firewall iptables -f
View the current working directory: PWD
Switch directory: CD
View the content of the directory: ls (ls - a: view hidden files)
Create a directory: mkdir
Create a document: touch () to create empty document
Vi (store automatically generated after editing documents)
Copy: cp
Mobile: mv
Delete the directory: rm - r (confirm delete: y; Delete: n)
Rm - rf (no hint, carefully)
Compression: the tar - CVF compressed package name. The tar is compressed file name
Extract: tar XVF compressed package name
CodePudding user response:
Rm - r is a recursive delete, rm - I was asking