linux 中 gzip命令设置压缩等级

发布时间 2024-01-08 12:10:22作者: 小鲨鱼2018

 

001、生成测试文件

[root@pc1 test]# ls
[root@pc1 test]# seq -f %010g 10000000 > a.txt             ## 测试文件
[root@pc1 test]# ll -h
total 113M
-rw-r--r--. 1 root root 113M Jan  9 12:03 a.txt            ## 测试文件 113Mb

 

002、