Click to See Complete Forum and Search --> : Unzipping a bz2


Mike B Best
07-21-2001, 10:10 AM
This is the most simple and frustrating thing, I have a .bz2 and I have no idea how to get at it. Gnome can look at the contents of it but I have no idea what the command is can anyone help? :mad:

7
07-21-2001, 11:11 AM
bunzip2 <filename>
will do it for ya

MandK_10
07-21-2001, 03:46 PM
And if for some reason you do not have bunzip, and if it is a .tar.bz2 just type 'tar xvfj <filename>' and it will unzip and untar it into the directory from where you run the command.
Make sure that if you run it from something like /usr/local you include the path with the file name and you are logged in with permission to write to the directory that you are in.

mike

irlandes
07-22-2001, 12:45 PM
Originally posted by Mike B Best:
<STRONG>This is the most simple and frustrating thing, I have a .bz2 and I have no idea how to get at it. Gnome can look at the contents of it but I have no idea what the command is can anyone help? :mad:</STRONG>

Well, you have a good answer. Midnight commander is probably the third best kept secret of linux. Type mc at a terminal prompt, and you get a sort of gui window manager. I am not sure, but I think in the menu (look for menu in the tool bar of mc) there is a choice which automatically unzips bz2, but since my memory is gone, it might only be bz?? It costs you nothing to look, and then you will know just how senile I am. Heh, heh.