若文件是以XXXXX.tar.gz结尾的,则用tar -xvf 进行解压缩 若文件是以XXXXX.gz结尾的,则使用gzip -d进行解压缩 转载于:https://blog.51cto.com/tcloud/1337296