PDA

View Full Version : umm, linux question


JM^3
10-01-2006, 07:38:16
how do you extract a tar again?

I want to do

tar -x filename

but hat doesn't work well

JM

Sir Penguin
10-01-2006, 07:47:56
tar -xvf filename

x - extract
v - verbose
f - filename

The f always goes last, before the filename.

If it's a .tar.gz file, you do

tar -xzvf filename

If it's a .tar.bz2 file, you do

tar -xjvf filename

SP

JM^3
10-01-2006, 07:49:51
SP to the rescue!

JM