Linux Decompression Command Encyclopedia decompression tar bz2 zip tar.gz gz May 25, 2008 Sunday 04:57
Roughly summed up the Linux under the various formats of compression package compression, decompression methods. But some of the methods I did not use, also not all, I hope you help me to add, I will be ready to modify, thank you. To organize: A fish that can swimFrom: www.LinuxByte.netLast modified: 2005-2-20. tarUnpack: Tar xvf Filename.
. They have a lot of parameter options, here is a brief introduction, still illustrate its usage: # rar a All*the. jpg command is to compress all. jpg files into a RAR package named All.rar, which will automatically append the. rar extension to the package name. # Unrar e all.rar This command is to extract all the files in the All.rar to this, we have introduced the tar under Linux,gzip、Gunzip、bzip2、bunzip2, Compress, uncompress,Zip、Unzip, RAR, Unrar,
; available from http://www.rarsoft.com/download.htm download rarfor Linux 3.2.0, then install:# TAR-XZPVF Rarlinux-3.2.0.tar.gz# CD RAR# makeThis installs well, after installation has RAR and unrar these two programs, RAR is the compression program, Unrar is the decompression program. They have a lot of parameter options, here are just a brief introduction, still examples of its use:# rar a All *.jpgThis command compresses all. jpg files into a RAR package named All.rar, which will be. rarThe e
all the files in the All.tar package----------T is the list of files# TAR-XF All.tarThis command is to solve all the files in the All.tar package------X is the meaning of the undoThe above is the most basic use of tar. In order to facilitate the packaging and unpacking of the user can compress or extract files, tar provides a special function. This is where tar can invoke other compression programs while packing or unpack, such as calling Gzip, bzip2
installation has RAR and unrar these two programs, RAR is the compression program, Unrar is the decompression program. They have a lot of parameter options, here are just a brief introduction, still examples of its use:# rar a All *.jpgThis command compresses all. jpg files into a RAR package named All.rar, which will be. rarThe extension is automatically appended to the package name.# Unrar E All.rarThis command is to extract all the files in the Al
, after installation has RAR and unrar these two programs, RAR is the compression program, Unrar is the decompression program. They have a lot of parameter options, here are just a brief introduction, still examples of its use:# rar a All *.jpgThis command compresses all. jpg files into a RAR package named All.rar, which will be. rarThe extension is automatically appended to the package name.# Unrar E All.rarThis command is to extract all the files in
, after installation has RAR and unrar these two programs, RAR is the compression program, Unrar is the decompression program. They have a lot of parameter options, here are just a brief introduction, still examples of its use:# rar a All *.jpgThis command compresses all. jpg files into a RAR package named All.rar, which will be. rarThe extension is automatically appended to the package name.# Unrar E All.rarThis command is to extract all the files in
, after installation has RAR and unrar these two programs, RAR is the compression program, Unrar is the decompression program. They have a lot of parameter options, here are just a brief introduction, still examples of its use:# rar a All *.jpgThis command compresses all. jpg files into a RAR package named All.rar, which will be. rarThe extension is automatically appended to the package name.# Unrar E All.rarThis command is to extract all the files in
compression and decompression. They can be used with other commands, but only one of them can be used. The following parameters are optional when files are compressed or decompressed as needed.
-Z: With the gzip attribute-J: With the bz2 attribute-Z: With the compress attribute-V: displays all processes.-O: unbind the file to the standard output
The following parameter-F is required -F: Specifies the file name. This parameter is the last paramete
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 unpack: Tar xvf Filename.tar package: Tar cvf filename.tar DirName (Note: Tar is packaged, not is compression! ) ———————————————. GZ decompression 1:gunzip filename.gz decompression 2:gzip-d filename.gz compression: gzip FileName. tar.gz and. tgz Dec
all.tarThis command is used to list all files in the all.tar package.-T is used to list objects.# Tar-XF all.tarThis command is used to extract all files in the all.tar package.-X is used to unlock the file.The above is the most basic usage of tar. To help you compress or decompress the packageFile, tar provides a special feature. This means that tar can call other pressures while packaging or unpacking.Program shrinking, such as calling gzip and Bzi
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 linux.tar.gz, tgz, bz2,.Z).tarmultiple compressed file names, which can also be used in windows,There are too few people using .zipand .rar in. This article describes the common compressed files.I hope you
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 compressed files in windows.. Zip, and the other is. rar. It can be the same as linux.tar.gz, tgz, bz2,.Z).tarmultiple compressed file names, which can also be used in windows,There are too few people using .zipand .
: The compressed file is in. xz format, and the suffix is alsoXz/path/to/somefile after compression is complete, the original file is deleted, the compressed file is named after the source file, and the suffix is added automatically-K: Keep the original file when compressingUNXZ: Unzip the. xz format file and delete the original file after decompression-------------------------------------------------------------------Zip: Compressed file is in. zip format, suffix is also trueZip Filename.zip FI
Linux 3.2.0, then install:# TAR-XZPVF Rarlinux-3.2.0.tar.gz# CD RAR# makeThis installs well, after installation has RAR and unrar these two programs, RAR is the compression program, Unrar is the decompression program. They have a lot of parameter options, here are just a brief introduction, still examples of its use:# rar a All *.jpgThis command compresses all. jpg files into a RAR package named All.rar, which will be. rarThe extension is automatically appended to the package name.# Unrar E All
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, *.tar. Z Extract with Tar–xzf8, *.rar with Unrar e decompression9, *.zip with unzip decompression*.tar with TAR–XVF
used to extract all files in the all.tar package.-X is used to unlock the file.
The above is the most basic usage of tar. To help you compress or decompress files while packing and unpackage, tar provides a special feature. This means that tar can call other compression programs, such as gzip and Bzip2, while packaging or unpacking.
1) tar calls Gzip
Gzipis a program developed by gnuorganization. The file ending with .gz is the result of gzip compres
–XVF File.tar//Unpacking the TAR PackageSummarize1, *.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, *.tar. Z Extract with Tar–xzf8, *.rar with Unrar e decompression9,
extension:# Rpm2cpio file. RPM | cpio-Div12. Install files with the. Deb extension:# Dpkg-I file. Deb13. decompress the file with the. Deb extension:# Dpkg-Deb-fsys-tarfile file. Deb | tar xvf-ar PFile. Deb data.tar.gz | tar xvzf-14.files with the extension of .zip:# Unzip file.zipDecompress WinZip files in LinuxIf JDK is installed, you can use the jar command and the unzip command.Directly decompress the .tar.gz FileThe xxxx.tar.gz file uses tar with the zxvf parameter and can be decompressed
, after installation has RAR and unrar these two programs, RAR is the compression program, Unrar is the decompression program. They have a lot of parameter options, here are just a brief introduction, still examples of its use:# rar a All *.jpgThis command compresses all. jpg files into a RAR package named All.rar, which will be. rarThe extension is automatically appended to the package name.# Unrar E All.rarThis command is to extract all the files in
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.