gzip出错 unexpected end of file

时间:2018-01-05 22:30:29   收藏:0   阅读:2239
[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解压文件出错,结论:文件损坏

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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!