Home System Tutorial LINUX Detailed explanation of decompression file command (zip) under centos7

Detailed explanation of decompression file command (zip) under centos7

Jan 07, 2024 pm 06:30 PM
zip centos7 unzip files

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!

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

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

CentOS7 various version image download addresses and version descriptions (including Everything version) CentOS7 various version image download addresses and version descriptions (including Everything version) Feb 29, 2024 am 09:20 AM

CentOS7 various version image download addresses and version descriptions (including Everything version)

How to decompress files on Baidu Netdisk How to decompress files on Baidu Netdisk Feb 23, 2024 pm 06:40 PM

How to decompress files on Baidu Netdisk

Steps to enter CentOS 7 emergency repair mode Steps to enter CentOS 7 emergency repair mode Jan 13, 2024 am 09:36 AM

Steps to enter CentOS 7 emergency repair mode

How to decompress files without Quark membership? Quark membership-free decompression file method How to decompress files without Quark membership? Quark membership-free decompression file method Mar 13, 2024 pm 08:00 PM

How to decompress files without Quark membership? Quark membership-free decompression file method

How to install Mysql in CentOS7 and set it to start automatically at boot How to install Mysql in CentOS7 and set it to start automatically at boot Jun 02, 2023 pm 08:36 PM

How to install Mysql in CentOS7 and set it to start automatically at boot

How to install mbstring extension under CENTOS7? How to install mbstring extension under CENTOS7? Jan 06, 2024 pm 09:59 PM

How to install mbstring extension under CENTOS7?

Best Guide to Compressing HTML Files to ZIP Best Guide to Compressing HTML Files to ZIP Apr 09, 2024 pm 04:09 PM

Best Guide to Compressing HTML Files to ZIP

How to access and clean junk files in /tmp directory in CentOS 7? How to access and clean junk files in /tmp directory in CentOS 7? Dec 27, 2023 pm 09:10 PM

How to access and clean junk files in /tmp directory in CentOS 7?

See all articles