Linux command to open .gz files

  Gzip, Tar

How do I extract a gz file?

Use gunzip command as follows:


# gunzip filename.gz

How do I extract a tar.gz file?


# tar xvzf file.tar.gz