Home > System Tutorial > LINUX > body text

Detailed explanation of decompression file command (zip) under centos7

WBOY
Release: 2024-01-07 18:30:35
forward
1605 people have browsed it

1. The compressed folder is a zip file

[root@cgls ]# zip -r mydata.zip mydata 
Copy after login

2. Unzip mydata.zip into the mydatabak directory

[root@cgls ]# unzip mydata.zip -d mydatabak
Copy after login

3.mydata01 folder and mydata02.txt are compressed into mydata.zip

[root@cgls ]# zip mydata.zip mydata01 mydata02.txt
Copy after login

4. Decompress the mydata.zip file directly

[root@cgls ]# unzip mydata.zip
Copy after login

5. View the contents of the mydata.zip file

[root@cgls ]# unzip -v mydata.zip
Copy after login

The above is the detailed content of Detailed explanation of decompression file command (zip) under centos7. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:jb51.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!