tar
-zcvf /home/xahot.
.gz /xahot
# 格式:tar -zcvf 打包后生成的文件名全路径 要打包的目录
# 把/xahot文件夹打包后生成一个/home/xahot.tar.gz的文件。