Extract tar the tar.bz2 file error

前端 未结 8 1184
后悔当初
后悔当初 2021-02-03 18:05

I tried to extract the tar.bz2 file in Fedora 17 OS. I used the command:

# tar -xvjf myfile.tar.bz2

I received this error message:

         


        
8条回答
  •  感情败类
    2021-02-03 18:45

    For bz2 you need to execute like this,

    tar -jxvf
    

    Alternatively, you can also execute like this

    bunzip2 myfile.tar.bz2
    

    For more information you should check it,

    tar --help
    

    If in doubt, run file on the archive to make sure it actually is compressed in bz2 format.

提交回复
热议问题