gzip: stdin: not in gzip format 解决办法

# sudo tar zxvf ./jdk-7ull-linux-i586.tar.gz -C /usr/lib/jvm 

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

问题解决方法如下:将z参数换成j参数问题解决
bz 格式用 j
gz 格式用 z

其他命令参数

c 是创建
x 是解压缩
v 是详细信息
f 是指定文件

原文地址:https://www.cnblogs.com/luoyinjie/p/7219361.html