how unzip tar.bz2 in linux

Open a terminal and type:
tar xvjf filename.tar.bz2
Which will untar it to the current directory. Normally (99% of the time) it will create it’s own subdirectory so you don’t need to worry about that.
Just so you know:
tar – Tape ARchiver
And the options:

  • x – extract
  • v – verbose output (lists all files as they are extracted)
  • j – deal with bzipped file
  • f – read from a file, rather than a tape device

“tar –help” will give you more options and info

About these ads

One thought on “how unzip tar.bz2 in linux

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s