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
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
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,
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
. 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
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
Extract command details. Extract details.
Detailed description of tar compression and decompression commands in LinuxTar
-C: Create a compressed file-X: Extract-T: View content-R: append an object to the end of the compressed archive object-U:
Compression zip under Linux, unzip unzip commandI personally test the summary:Linux installation Unzip zipInstall command: Yum install-y unzip zip# Unzip Yasuo.zipMethod One:Install command: Yum install-y unzip zip1. I want to compress a file
Example: compressing the contents of the current directory on the server as a xxx.zip fileZip-r xxx.zip./*Unzip the zip file to the current directoryUnzip Filename.zip============================Another: Some servers do not install the ZIP package
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.