gzip解压文件报错

 #tar -xvf jdk-8u131-linux-x64.tar.gz,执行命令后报错如下: 
gzip: stdin: not in gzip format 
tar: Child returned status 1 
tar: Error is not recoverable: exiting now

报错原因是这个压缩包没有用gzip格式压缩,所以不用加z指令就可以了

猜你喜欢

转载自www.cnblogs.com/browselife/p/10646378.html