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

Shell命令
834
linux
linux 举报
2024-05-06

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 是指定文件


倒序看帖 只看楼主
热点关注
VSFTP2.3.4(笑脸漏洞)渗透测试
postfix中recipient/client/sender/helo四者的区别
postfix的相关个别参数设置
extman-1.1自带了图形化显示日志的功能;此功能需要rrdtool的支持,您需要安装此些模块才可能正常显示图形日志。
shell 脚本中常见的 if [ $? -ne 0 ]; 意思
shell 中 if [ “x${var}“ == “x“ ] 中 x的作用
shell脚本每行后面多了一个^M的原因和解决办法
服务停止、启动、重启一体化脚本,万能语言启动脚本
shell参数判断
在后台用进程名运行bash脚本
shell脚本每行后面多了一个^M的原因和解决办法
定时检测服务,检测down掉后重启。系统检测到DMSERVER运行正常
用postfwd取代extmail 的slockd
postfix如何过滤某个域名邮件的发送?
给postfix设置黑名单