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