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:-
Advertisements
- Go to terminal and enter command below to extract .bz2 file:-
$ bunzip2 myfile.bz2
- If you have .tar.bz2 file then you can use the command below to extract the file:-
tar xjvf myfile.tar.bz2
Related posts:
How to add Primary and Secondary DNS server - /etc/resolve.conf - Linux
How to block all file access except one using .htaccess
How to verify SHA-1 checksum in Mac OS X?
How to mount samba in Mac OS X / Linux?
How to reduce pdf file size in Mac
Arrow key not working in vi / vim - Mac OS
How to check if directory exists in Bash script
Linux: How to mount iso image file
Share this with your friends:-