标签:解压缩
tar命令:zip命令:
压缩目录:zip –r /opt/etc.zip /etc
解压:unzip /opt/etc.zip
gzip命令:
压缩:gzip -9v /opt/etc.zip (压缩后的文件为/opt/etc.zip.gz,不保留源文件)
解压:gunzip /opt/etc.zip.gz (解压后不保留源文件)
查看压缩里的内容:gzip -l /opt/etc.zip.gz
标签:解压缩
原文地址:http://blog.51cto.com/liuzhengwei521/2083358