linux 压缩和解压缩命令gz、tar、zip、bz2
gzip
压缩后的格式为:*.gz
这种压缩方式不能保存原文件;且不能压缩目录
命令举例:
#压缩
[root@localhost tmp]# gzip buodo
[root@localhost tmp]# ls
buodo.gz
#解压
[root@localhost tmp]# gunzip buodo.gz
[root@localhost tmp]# ls
buo...
转载
2018-09-27 11:11:30 ·
979 阅读 ·
0 评论