The TAR command is create in Linux for archiving backup data to a Tape drive. The commands has large amount of advantage. The Linux system admins is using for Backup and restoring purposes. The tarballs are most popular method to archiving data into tar files including various extensions like tar.gz / tar.xz / tar.bz2 etc.
It is developed to achieve data with robust tar ball files. This is most widely used Linux commands for most probably used for the backup. When any backup is archiving with this method then question arises here how to exact the tar balls. This tutorial show how extract those tar ball files.
First of all These are given syntax is recommend only for tar command.
$ tar -recommended-options filename.tar.gz -optional-options
$ tar -recommended-options filename.tar.bz2 -optional-options
$ tar -recommended-options filename.tar.xz -optional-options
Secondly the Recommended Options are:
Finally the Optional Options are
Secondly the file extraction process should followed by the same directory.
$ tar -xzvf techbrown.tar.gz
$ tar -xjvf techbrown.tar.bz2
$ tar -xJvf techbrown.tar.xz
First of all Extracting files from the tarball. The extraction of tarball can be done using command.
After that Tar ball mainly utilized for the archive of backups.
Finally to get back files that are in compressed state roll backing to its original part is know as extract the tarballs.
$ tar -xzvf techbrown.tar.gz -C /home/techbrown/
$ tar -xjvf techbrown.tar.bz2 -C /home/techbrown/
$ tar -xJvf techbrown.tar.xz -C /home/techbrown/
After that the Tar Command More Options or Help Manual can be found by using manual command.
$ man tar
Congratulations now you have extracted those tarball files using using Linux.