Http://hi.baidu.com/ggwork/blog/item/d52c48245e823923d40742b9.html
For those who are new to Linux, they will surely get dizzy with a bunch of various file names in Linux. OtherFor example, we know that there are only two common types of
The most common packaging program under Linux is tar, which is often referred to as the TAR package, and the tar package file commands are usually terminated with. Tar. After the tar package is generated, it can be compressed with other programs, so
Linux under the Tar decompression GZ decompression bz2 and so on various decompression file use method
. tar
Unpack: Tar xvf Filename.tar
Packing: Tar cvf filename.tar dirname
(Note: Tar is packed, not compressed.) )
———————————————
.
This paper mainly from the following several convenient to explain file archiving and compression, while comparing the compression ratios and characteristics of several different compression methods.
File Archive command tar,tar.gz source
Zip:Compression:Zip [-acddffghjjkllmoqrstuvvwxyz$][-b ][-ll][-n ][-t ][-][compressed file] [ File ...] [-i Extract:Unzip [options] Compress file name. zipOptions:-X file list to unzip the file, but not include the specified file file.-V View the
. tarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gz and.
For those who are new to Linux, they will surely get dizzy with a bunch of various file names in Linux. OtherFor example, we know that there are only two common types of compressed files in windows.. Zip, and the other is. rar. It can be the same as
In Linux, users often need to back up data in computer systems. To save storage space, backup files are often compressed. This article provides a general summary of the compression and decompression commands.
.Tar.gzDecompress: Tar zxvf
Summarizes the compression and decompression methods of compressed packets in various formats under Linux. But some of the methods I did not use, but also not all, I hope you can help me to add, I will revise the perfect at any time, thank you!. Tar
Java EE Development of various types of resources download list, the history of the most complete IT resources, personal collection summary.
Linux users often need to back up the computer system data, in order to save storage space, often the
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.