Summary of the command to unzip files under Linux

Source: Internet
Author: User

---------------------------------------------
Tar command:

-V Visualization
-C New Package
-F Specify the file name (unless you use the default user name)
-X Decompression Target.tar
-R Add File to Target.tar
-t lists files in Target.tar
-U update file files in Target.tar
-Z Call gzip
-j Call bzip2

Compression TAR:TAR-CF [Target.tar] [file]
Decompression TAR:TAR-XF [Target.tar]

Compression TAR.GZ:TAR-CZF [target.tar.gz] [file]
Decompression TAR.GZ:TAR-XZF [target.tar.gz]

Compression TAR.BZ2:TAR-CJF [target.tar.bz2] [file]
Decompression TAR.BZ2:TAR-XJF [target.tar.bz2]

---------------------------------------------
RAR command:
A add a file or directory to Target.rar
D Delete files from the document
E Extract to current directory
-U update file
-o+ Overwrite directory files
-o-do not overwrite directory files

Compression: rar A [Target.rar] [File/folder]
Decompression: RAR e [Target.rar]

---------------------------------------------
Zip command:
-R recursively Add folders under content
Compression: Zip [target.zip] [File/folder]

-d<folder> unzip to the corresponding directory
Decompression: Unzip [Target.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.