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
. 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
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
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
1, *.tar with TAR–XVF decompression2, *.gz with gzip-d or gunzip decompression3, *.tar.gz and *.tgz with TAR–XZF decompression4, *.bz2 with bzip2-d or with BUNZIP2 decompression5, *.tar.bz2 with TAR–XJF decompression6, *. Z Extract with Uncompress7,
I feel that android is a hot topic and I want to learn it myself. But its kernel is still based on Linux, so I have no choice but to learn everything from the beginning to the old rules. Everything should be switched from scratch, from the
Tar (Tape ARchive, abbreviation for tape archive, LCTT originally designed to package files onto tape, and now most of us use it to back up a partition or some important directory) is the most widely used command in Unix-like systems, Used to
Extract the tgz file to the specified directory tar is commonly used on Linux packaging, compression, compression tools, he has a lot of parameters, folding only to enumerate the commonly used compression and decompression parameter
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
Packaging Example: package files in the /usr/local/src/zlib-1.2.5 directory into zlib-1.2.5.tar.gzCD/USR/LOCAL/SRCTAR-CZVF./zlib-1.2.5.tar.gz/zlib-1.2.5/*# compressed into the development directory (for example:/root/2/) tar-czvf/root/2/
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.