Developers Heaven Forum

Operating Systems => Lunix & Unix => Topic started by: admin on December 07, 2009, 01:25:20 AM

Title: How to unzip .tgz files?
Post by: admin on December 07, 2009, 01:25:20 AM
in Unix a user may untar a compressed (gzipped) tar file with:

tar -zxvf <filename>

The z flag instructs tar to use gzip. A seperate gzip pipe is not required.

Of course, the v flag is not necessary, just makes gzip quite talkative

Also a .tgz file may be untarred with -zxf switches (only).