Downloaded a .bz2 file at my linux box, and looking to extract .bz2 file. In Mac, i just need to double click on .bz2 file and it will extract automatically. With no GUI, i need to look for some command to extract .bz2 file in my Linux box.
To extract .bz2 file in Linux, follow the steps below:-
- Go to terminal and enter command below to extract .bz2 file:-
123$ bunzip2 myfile.bz2</li><li>If you have .tar.bz2 file then you can use the command below to extract the file:-<pre>tar xjvf myfile.tar.bz2