Linux linux unzip unzip command set

linux unzip

 

tar -xvf file.tar // extract the tar archive
tar-xzvf file.tar.gz  // unpack tar.gz
tar -xjvf file.tar.bz2 // unpack tar.bz2
tar-xzvf file.tar.Z  // unpack the tar.Z
unrar E // file.rar extracting RAR
the unzip file.zip // extracting ZIP
. 1, .tar codecs with tar -xvf
2,
.gz using gzip -d or gunzip it

. 3, .tar.gz and .tgz with tar -xzf decompression
. 4, the .bz2 with bzip2 -d bunzip2 it or use
. 5,
.tar.bz2 with tar -xjf decompression

. 6, .Z uncompress with decompression
. 7,
.tar.Z with tar -xZf codecs

. 8, .rar with unrar e decompression
. 9,
.zip unzip it with

 

tar -xvf file.tar // extract the tar archive
tar-xzvf file.tar.gz  // unpack tar.gz
tar -xjvf file.tar.bz2 // unpack tar.bz2
tar-xzvf file.tar.Z  // unpack the tar.Z
unrar E // file.rar extracting RAR
the unzip file.zip // extracting ZIP
. 1, .tar codecs with tar -xvf
2,
.gz using gzip -d or gunzip it

. 3, .tar.gz and .tgz with tar -xzf decompression
. 4, the .bz2 with bzip2 -d bunzip2 it or use
. 5,
.tar.bz2 with tar -xjf decompression

. 6, .Z uncompress with decompression
. 7,
.tar.Z with tar -xZf codecs

. 8, .rar with unrar e decompression
. 9,
.zip unzip it with

 

Guess you like

Origin www.cnblogs.com/xuehuafeixuan/p/10983101.html