1. 程式人生 > >gzip出錯 unexpected end of file

gzip出錯 unexpected end of file

file 出錯 cal /tmp expect roo gzip expec zip解壓

[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