linux-Packing Compression

Source: Internet
Author: User
Packaging compression
Windows:
. rar. zip
WinRAR zip 7zip good pressure

linux:.tar.gz. tar.bz2. zip. xz
Gzip bzip2 and tar (packaged)

Packaged:
#tar CVF File.tar Packaged files ...
#tar CVF Abc.tar a b c d E
C Create
V Verbose
F file
Unpack
#tar xvf packaging files [-c/root/desktop]
X extract
-c Specifies the unpacking path

Gzip bzip2
Compression:
#gzip source File ...
#bzip2 source File ...
Extract:
#gunzip Compressed Files
#bunzip2 Compressed Files
#gzip-D Compressed files
#bzip2-D Compressed files

Package Compression together:
#tar cvzf file.tar.gz Source file ...
#tar cvjf file.tar.bz2 Source file ...
Unpack and unpack together:
#tar xvzf Compressed file [-C decompression Path]
#tar XVJF Compressed file [-C decompression Path]
View sub-Files inside compressed files
-T
#tar-TF Compressed Files

#tar-CJF etc3.tar.xz/etc
-j Call XZ

linux-Packing Compression

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.