码迷,mamicode.com
首页 > 其他好文 > 详细

gzip出错 unexpected end of file

时间:2018-01-05 22:33:46      阅读:296      评论:0      收藏:0      [点我收藏+]

标签:cal   /tmp   损坏   oca   expec   文件   bsp   end   expect   

[root@localhost d6z]# ls

1.txt  2.txt

[root@localhost d6z]# wc -l 1.txt 2.txt

 123139 1.txt

      0 2.txt

 123139 总用量

[root@localhost d6z]# gzip -d -c /tmp/11.txt.gz > /tmp/d6z/2.txt


gzip: /tmp/11.txt.gz: unexpected end of file

[root@localhost d6z]# ls /tmp/11.txt.gz 

/tmp/11.txt.gz

[root@localhost d6z]# gzip -d -c /tmp/11.txt.gz > /tmp/d6z/3.txt


gzip: /tmp/11.txt.gz: unexpected end of file

[root@localhost d6z]# ls

1.txt  2.txt  3.txt

[root@localhost d6z]# wc -l 1.txt 2.txt 3.txt

 123139 1.txt

      0 2.txt

      0 3.txt

 123139 总用量

[root@localhost d6z]#  



同学gzip解压文件出错,结论:文件损坏

gzip出错 unexpected end of file

标签:cal   /tmp   损坏   oca   expec   文件   bsp   end   expect   

原文地址:http://blog.51cto.com/11530642/2057975

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!