LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do you unpack (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-you-unpack-18060/)

digital bots 04-08-2002 09:03 PM

how do you unpack
 
how do you unpack a .bz2 file. I did tar -zxvf nameoffile.bz2 and it gave me a error/

acid_kewpie 04-08-2002 09:06 PM

did you try actaully reading the man page for tar? if you did you'd se that the z tag is for gzip files, while y or j is for bzip2 files.

digital bots 04-08-2002 09:14 PM

Quote:

Originally posted by acid_kewpie
did you try actaully reading the man page for tar? if you did you'd se that the z tag is for gzip files, while y or j is for bzip2 files.
to tell the truth some one told me how to do it i didnt know there was a file that i could look this info up on.

Syncrm 04-09-2002 08:26 AM

yeah dood... the following command will work miracles for you:

# man <command>

gadzooks, batman! it's a manual for the command!!! ;-)

AutoBot 04-09-2002 11:05 AM

Yes it is better to read the man pages when you are in need of help but since that has been said here you go:

To unpack bzip2 tarball: (.tar.bz): tar -Ixvf /path/to/archive.tar.bz2

To unpack bzip2 file: (.bz2): bzip2 -d /path/to/archive.bz2

digital bots 04-09-2002 03:23 PM

Quote:

Originally posted by Syncrm
yeah dood... the following command will work miracles for you:

# man <command>

gadzooks, batman! it's a manual for the command!!! ;-)

thanks for the tip didnt know that one.


All times are GMT -5. The time now is 12:53 AM.