Do you want to extract ‘tar.bz2’ and ‘tar.gz’ file using Linux command for Linux operating systems such as Centos, Linux Suse and more?
What is tar?
Tar is the abbreviation for Tape ARchive. Tar is is a UNIX shell command that creates a single file called an “archive” from a number of specified files or extracts the files from such an archive.
Here’s are the easy step-by-step how to ‘tar.bz2’ and ‘tar.gz’ file in Linux Command:
To extract a tar.bz2 file, use the command below
[[email protected] ~]# tar -jxvf ebook.tar.bz2
Meanwhile, To extract a tar.gz file, use the command below:
[[email protected] ~]# tar -zxvf ebook.tar.gz