How to extract filename.tar.gz file

后端 未结 8 2135
半阙折子戏
半阙折子戏 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:23

    I have the same error the result of command :

    file hadoop-2.7.2.tar.gz
    

    is hadoop-2.7.2.tar.gz: HTML document, ASCII text

    the reason that the file is not gzip format due to problem in download or other.

提交回复
热议问题