1. 压缩 tar -cf test.tar * 用 tar –xf test.tar 解压
2. 压缩 tar zcf test.tar.gz * 用 tar zxf test.tar.gz -C /tmp/test/ 解压
3. 压缩 tar jcf test.tar.bz2 * 用 tar jxf test.tar.bz2 -C /tmp/test/ 解压
4. 压缩 gzip test.gz 用 gzip -d test.gz 或 gunzip test.gz 解压
5. 压缩 bzip2 -z *.bz2 用 bzip2 -d或者用bunzip2 解压
6. 压缩 windows test.zip 或 zip test.zip * 用 unzip test.zip 解压
7. 压缩 windows test.rar 用 unrar e test.rar 解压
常用压缩-解压
原创
©著作权归作者所有:来自51CTO博客作者cloves的原创作品,谢绝转载,否则将追究法律责任
上一篇:安装php-mq扩展
下一篇:查看CPU等参数配置
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
常用压缩与解压工具使用
总结日常工作中使用到得压缩解压缩命令
tar zip gzip -
linux常用的压缩与解压缩命令
1.gzip 压缩gzip 是压缩文件,压缩之后文件后缀为.gz 用法:gzip 选压缩用法:tar 选项[zcvf] [目录]-c 产生.tar打包文件 -v 显示详细信息 -f 指定压缩后的文件名 -
linux ubuntu 压缩解压缩命令 常用命令 tar -
Linux系统 | 常用压缩与解压命令
Linux系统 | 常用压缩与解压命令ZIP命令 zip可能是目前使用的最多的文档压缩
容器 c++ 运维 hive 解包 -
Linux下常用的压缩和解压缩命令
Linux下常见的压缩格式*.Z compress程序压缩文件*.gz  
tar gzip bzip2 -
Linux系统下常用的压缩解压缩命令
tar、zip、bzip2、gzip、cpio等压缩解压命令用法
zip tar bzip2