tar命令解壓縮出錯


[root@zhoucentos share1]# tar zxvf otp_src_19.1.tar.gz gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now

 


 

原因是這個壓縮包沒有用gzip格式壓縮,所以不用加z指令

[Sun@localhost Downloads]$ tar xvf otp_src_19.1.tar.gz

這樣就可以了

解決方法二:

1:把下載下來的文件重命名: mv otp_src_19.1.tar.gz otp_src_19.1.tar

2:再執行解壓命令:tar zxvf otp_src_19.1.tar


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM