Using TAR with Bunzip2 files

Version 1.0
Author: VirtualEntity <lafeyette_management [at] comast [dot] net>

Bunzipping and then unTARring in two steps is not convenient.

It is not necessary to use Bunzip2 and then TAR to unzip a file in two separate steps.

Tar will do the job on its own if the -j switch is used, thus:

 tar xjvf linux-source<version>.tar.bz2

By the same token, you may use the -z switch with a gzipped file, e.g.

 tar zxvf linux-source<version>.tar.gz

Enjoy!

Share this page:

0 Comment(s)