Linux server to delete folders delete files unzip the command method
- 2021-01-22 08:27:45
- OfStack
1. Delete the folder
Example: rm -rf /usr/java
The /usr/java directory and all files and folders under it will be deleted
2. Delete files
Example: rm f/usr tomcat/conf/server xml
Will be forced to delete/usr tomcat/conf/server xml this file
3. Unzip
1. Unzip to the current directory
Example: tar-zxvf jdk-8u131-linux-x64.tar.gz
jdk-8u131-linux-x64.tar.gz will be extracted to the current directory where it is located