PDA

View Full Version : [ubuntu] unzipping a file



ub007
June 27th, 2008, 02:33 PM
Hiya,

could anyone tell me how to extract a tarball into /var/www?

Cheers
David

ibutho
June 27th, 2008, 02:36 PM
Try

tar zxvf somefile.tar.gz -C /var/www

gorgon
June 27th, 2008, 02:39 PM
in a terminal, type: sudo tar -xf yourfile.tar /var/www

if you type 'tar --help' you can see how to use tar - the --help or -h following any program usually gives you the help file.

manishtech
June 27th, 2008, 02:46 PM
Hiya,

could anyone tell me how to extract a tarball into /var/www?

Cheers
David
I would like to make a humble request to continue in the older thread itself.
http://ubuntuforums.org/showthread.php?t=842219&page=2

ub007
June 27th, 2008, 03:00 PM
sorry mate,

i thought u may have left.....my apologies..thread closed

manishtech
June 27th, 2008, 03:27 PM
sorry mate,

i thought u may have left.....my apologies..thread closed
Even though I may have left,there are others to answer. Patience is the key :)

I request the mods to delete the thread, if other agree too.