Linux installation Unzip zip

Source: Internet
Author: User

Install command: Yum install-y unzip zip
1. I want to compress a file abc.txt and a directory dir1 into yasuo.zip:# zip-r yasuo.zip abc.txt dir12. I downloaded a yasuo.zip file that I want to decompress:

Unzip Yasuo.zip

3. I have Abc1.zip,abc2.zip and Abc3.zip in the current directory, and I want to unzip them together:

# unzip abc\? Zip

Note: A character is represented if any number of characters are represented by *.

4. I have a very large compressed file large.zip, I do not want to decompress, just want to see what is inside it:

Unzip-v Large.zip

5. I downloaded a compressed file large.zip, want to verify that the compressed file is completely downloaded

Unzip-t Large.zip

6. I use the-v option to find that Music.zip compressed files have many directories and subdirectories, and the subdirectories are actually songs mp3 files, I would like to download these files to the first level directory, rather than a layer of building a directory:

Unzip-j Music.zip

Linux installation Unzip zip

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.