Passion Youtube

Save Prancingwifenaked Public El 1 Unpacking or uncompressing gz files under Linux and UNIX systems

Save Prancingwifenaked Public El 1

Linux FAQ / Howtos

Unpacking or uncompressing gz files under Linux and UNIX systems

by on May 1, 2006 · 1 comment· last updated at January 17, 2008

Q. How do I open or uncompress .gz extension file under Linux or UNIX computer?

A. The .gz file extension are created using Gzip program which reduces the size of the named files using Lempel-Ziv coding (LZ77). gunzip / gzip is software application used for file compression. gzip is short for GNU zip; the program is a free software replacement for the compress program used in early Unix systems.

Each file is replaced by one with the extension .gz, while keeping the same ownership modes, access and modification times.

To expand i.e. to Unpacking or uncompressing gz files you need to use gunzip program Or gzip -d or zcat program:

Using gunzip command:
$ gunzip file.gz
$ ls file

Using gzip -d command:
$ gzip -d file.gz
$ ls file

If file extension is tar.gz, type the command:
$ tar -zxvf file.tar.gz
Please note that gunzip can currently decompress files created by gzip, zip, compress, compress -H or pack programs.

See also:

Featured articles:

{}

Robert Romanov July 21, 2010 at 6:25 pm

I down loaded the file gzip-1.4.tar.xz into a directory /usr/compiler
What RedHat linux command do I use to uncompress it?

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a ngentmemekent="" title="">
What is 7 + 7 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.





Previous Faq:

Next Faq:

GET FREE TIPS
Make the most of Linux Sysadmin work!
    
©2006-2012 nixCraft. All rights reserved. Cannot be reproduced without written permission.
Privacy Policy | Terms of Service | Questions or Comments | Sitemap
dSave Prancingwifenaked Public El 1 Unpacking or uncompressing gz files under Linux and UNIX systemsl o Babe Girls oSave Prancingwifenaked Public El 1 Unpacking or uncompressing gz files under Linux and UNIX systemsr n z b b f f Models