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 create symbolic link in Unix
How to install apache, php, mysql with macport in Mac OS X
How to convert Keynote (.key) to Power Point (ppt)
How to install flash player in Ubuntu
How to check if directory exists in Bash script
How to split large file into several smaller files - Linux
How to install LAMP (Apache, PHP and MySQL in Linux) using Yum
How to remove apache test page in CentOS
Share this with your friends:-