Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
decompressing files
Name: Nate Date: October 31, 2002 at 20:11:29 Pacific OS: Redhat 7 CPU/Ram: P2 333 228 Meg Ram
Comment:
Well, I'm new to Linux, and I need some help understanding how to decompress files. for example if i have a file called *.tar.gz, what do i do.....i'm so used to winzip, i'm totally lost.
Name: Danny Larouche Date: October 31, 2002 at 20:53:55 Pacific
Reply:
tar -xvzf file.tar.gz
0
Response Number 2
Name: Sean Miller Date: November 1, 2002 at 07:19:01 Pacific
Reply:
I didn't know the "z" switch within tar existed, so therefore tend to work on the general principle below...
Starting at the right, look at the extension... .gz means that the file is a gzip file so the first thing we need to do is uncompress it...
gunzip file.tar.gz
Now if we look at the file we have file.tar ... tar is basically a way of creating a single file containing a heirarchical data structure. It is not a compression method. Therefore to restore the files, you need to untar it.
tar xvf file.tar
Other UNIX compressed files may have the extension .Z ... to uncompress simply type "uncompress file.Z"
Summary: Forgot to mention they are both networked and share files quite happily. Hell even have the win98 box serving the internet to the Linux box. Bit backward I now but it is functioning pecfectly fine. Th...