打包:tar -cvf file.tar file.txt
压缩:tar -czvf file.tar.gz file.txt
解包:tar -xvf file.tar
解压:tar -xzvf file.tar.gz