解包:tar zxvf FileName.tar
打包:tar czvf FileName.tar DirName
解压1:gunzip FileName.gz
解压2:gzip -d FileName.gz
压缩:gzip FileName
解压:tar zxvf FileName.tar.gz
压缩:tar zcvf FileName.tar.gz DirName
压缩多个文件:tar zcvf FileName.tar.gz DirName1 DirName2 DirName3 ...
解压1:bzip2 -d FileName.bz2
解压2:bunzip2 FileName.bz2
压缩: bzip2 -z FileName
解压:tar jxvf FileName.tar.bz2
压缩:tar jcvf FileName.tar.bz2 DirName
解压1:bzip2 -d FileName.bz
解压2:bunzip2 FileName.bz
压缩:未知
解压:tar jxvf FileName.tar.bz
解压:uncompress FileName.Z
压缩:compress FileName
解压:tar Zxvf FileName.tar.Z
压缩:tar Zcvf FileName.tar.Z DirName
解压:unzip FileName.zip
压缩:zip FileName.zip DirName
“The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.” – Tom Cargill
标 题:linux压缩和解压缩命令大全