tar xvzf 问题

1 linux compression tar archiving

嗨,我使用 FC12 命令: tar xvfz GeoIP.dat.gz

我得到了错误

tar: This does not look like a tar archive
tar: Skipping to next header
tar: Error exit delayed from previous errors
Run Code Online (Sandbox Code Playgroud)

有什么问题?

dev*_*ity 9

根据文件名,它不是 tar 存档。

尝试只使用gunzip GeoIP.dat.gz它应该给你 GeoIP.dat。