Linux中如何实现压缩和解压缩
发表于:2024-10-03 作者:千家信息网编辑
千家信息网最后更新 2024年10月03日,这篇文章主要介绍Linux中如何实现压缩和解压缩,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!一 常用的压缩格式.zip.gz.bz2.tar.gz.tar.bz2二 .zip
千家信息网最后更新 2024年10月03日Linux中如何实现压缩和解压缩
这篇文章主要介绍Linux中如何实现压缩和解压缩,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!
一 常用的压缩格式
.zip
.gz
.bz2
.tar.gz
.tar.bz2
二 .zip格式压缩
1、语法
zip 压缩文件名 源文件名
压缩文件
zip -r 压缩文件名 源目录
压缩目录
unzip 压缩文件
解压缩.zip文件
2、说明
.zip的格式在windows和LInux是通用的。
3、实战
root@localhost test]# lsabc cdf[root@localhost test]# zip abc.zip abcadding: abc (stored 0%)[root@localhost test]# mkdir dirtst[root@localhost test]# touch ./dirtst/ert[root@localhost test]# zip -r dirtst.zip dirtstadding: dirtst/ (stored 0%)adding: dirtst/ert (stored 0%)[root@localhost test]# lsabc abc.zip cdf dirtst dirtst.zip[root@localhost test]# rm -fr abc[root@localhost test]# lsabc.zip cdf dirtst dirtst.zip[root@localhost test]# unzip abc.zipArchive: abc.zipextracting: abc[root@localhost test]# lsabc abc.zip cdf dirtst dirtst.zip[root@localhost test]# rm -rf dirtst[root@localhost test]# unzip dirtst.zipArchive: dirtst.zipcreating: dirtst/extracting: dirtst/ert[root@localhost test]# lsabc abc.zip cdf dirtst dirtst.zip
以上是"Linux中如何实现压缩和解压缩"这篇文章的所有内容,感谢各位的阅读!希望分享的内容对大家有帮助,更多相关知识,欢迎关注行业资讯频道!
文件
格式
和解
内容
文件名
篇文章
价值
兴趣
实战
小伙
小伙伴
常用
更多
源文件
源目录
目录
知识
行业
语法
资讯
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
营销软件开发批发
怀旧服服务器盗贼最高等级
影像数据库文件损坏
本地服务器忘记管理员密码
淘宝未连接服务器请稍等
图文排版软件开发
华为服务器 占有率
数据库单招考试题
南京邦克软件开发服务中心
数据库中用户定义完整性约束
中国好故事数据库图片
永结无间服务器有移动的吗
浦发银行信用卡中心软件开发
城关网络安全检查
浙江app软件开发案例
易语言数据库添加内容
国际版服务器在哪里
服务器多重
服务器数据打包
成都智能边缘计算服务器如何挑选
阿里云服务器如何租赁
数据库查看所有表格
服务器如何查询raid
阿里云服务器mysql
数据库添加语法
重庆猪八戒软件开发
傲梦网络技术有限公司
黑魂2开私人服务器
计算机网络技术相关企业
成都智能边缘计算服务器如何挑选