Kenno's openNOTE

My Programming Weblog

Categories

  • ភាសាខ្មែរ
  • General
  • HowTo
  • Tips
  • Unix/Linux
  • Windows

Archives

Blogroll

  • /dev/loki
  • Chorn Sokun’s Weblog
  • Jayen’s CSE blog
  • just in ram
  • yisheng’s dev diary

Links

  • Mac Vim

Tag Archives for tar

How to decompress .tar.Z

One way to extract a .tar.Z file:

$ zcat file.tar.Z | tar xvf -

October 6, 2011 by kenno Categories: Uncategorized | Tags: tar | 3 Comments

How to decompress .tar.bz2 file

Normally, I would bunzip the file first, then untar it next. But I found something after googling for a shortcut: it can all be done with just one tar command.

$tar -xjvf example.tar.bz2

Notice that, we use j flag to decompress bzip2 file and z flag for gzip file. :)

April 18, 2006 by kenno Categories: Unix/Linux | Tags: bunzip, bz2, tar | 8 Comments

Post navigation

Blog at WordPress.com. | Theme: Ari by Elmastudio.
Follow

Get every new post delivered to your Inbox.

Powered by WordPress.com