How to extract tar.gz and tar.bz2 files in Ubuntu 12.04

Now we are going to see how to extract the most common tar files : tar.gz and tar.bz2.

gz: GNU zip
bz2: bunzip2

In order to extract the files with the following extensions we will use the command "tar"

For extracting gz files:

tar -xzvf filename.gz


For extracting bz2 files

tar -xjvf filename.bz2

For more details you can do man tar in your command line

Comments

Popular posts from this blog

bb.utils.contains yocto

make config vs oldconfig vs defconfig vs menuconfig vs savedefconfig

PR, PN and PV Variable in Yocto