How to extract filename.tar.gz file

后端 未结 8 2149
半阙折子戏
半阙折子戏 2020-12-12 12:47

I want to extract an archive named filename.tar.gz.

Using tar -xzvf filename.tar.gz doesn\'t extract the file. it is gives this error:

8条回答
  •  半阙折子戏
    2020-12-12 13:14

    It happens sometimes for the files downloaded with "wget" command. Just 10 minutes ago, I was trying to install something to server from the command screen and the same thing happened. As a solution, I just downloaded the .tar.gz file to my machine from the web then uploaded it to the server via FTP. After that, the "tar" command worked as it was expected.

提交回复
热议问题