Tuesday, February 22, 2011

how to extract bzip2 or gzip with tar command

To extract bzip2
-tar -jxvf file.tar.bz2

To extract gz
-tar -zxvf file.tar.gz