01-.tar format
Unpacking: [*******]$ tar xvf Filename.tar
Package: [*******]$ tar cvf filename.tar DirName (Note: Tar is packaged, not compressed!) )
02-.gz format
Decompression 1:[*******]$ Gunzip filename.gz
Decompression 2:[*******]$ gzip-d filename.gz
Compression: [*******]$ gzip FileName
03-.tar.gz format
Decompression: [*******]$ tar zxvf FileName.tar.gz
Compression: [*******]$ tar zcvf FileName.tar.gz DirName
04-.BZ2 format
Decompression 1:[*******]$ bzip2-d filename.bz2
Decompression 2:[*******]$ bunzip2 filename.bz2
Compression: [*******]$ bzip2-z FileName
05-.TAR.BZ2 format
Decompression: [*******]$ tar jxvf FileName.tar.bz2
Compression: [*******]$ tar jcvf FileName.tar.bz2 DirName
06-.BZ format
Decompression 1:[*******]$ bzip2-d filename.bz
Decompression 2:[*******]$ bunzip2 filename.bz
07-.TAR.BZ format
Decompression: [*******]$ tar jxvf FileName.tar.bz
08-. Z Format
Decompression: [*******]$ uncompress filename.z
Compression: [*******]$ compress FileName
09-.tar. Z Format
Decompression: [*******]$ tar zxvf filename.tar.z
Compression: [*******]$ tar zcvf filename.tar.z DirName
10-.TGZ format
Decompression: [*******]$ tar zxvf filename.tgz
11-.TAR.TGZ format
Decompression: [*******]$ tar zxvf FileName.tar.tgz
Compression: [*******]$ tar zcvf FileName.tar.tgz FileName
12-.zip format
Decompression: [*******]$ unzip Filename.zip
Compression: [*******]$ zip Filename.zip DirName
13-.lha format
Decompression: [*******]$ lha-e Filename.lha
Compression: [*******]$ lha-a Filename.lha FileName
14-.rar format
Decompression: [*******]$ rar a Filename.rar
Compression: [*******]$ rar e Filename.rar
RAR please to: http://www.rarsoft.com/download.htm download!
After extracting, copy the rar_static to the/usr/bin directory (other $path environment variables
The specified directory is also OK): [*******]$ CP Rar_static/usr/bin/rar
From: http://hi.baidu.com/ucdcmqj/blog/item/c48fab59b2c1322c2934f0fd.html
Linux Unzip command