Solved

gunzip and gzip

Posted on 2000-04-06
5
465 Views
Last Modified: 2010-04-20
What is the different between gunzip and also gzip ?
0
Comment
Question by:ahchong
5 Comments
 
LVL 1

Expert Comment

by:bcoleman
ID: 2690419
gzip zip a file (compresses it)
gunzip unzips a file (uncompresses it)
0
 
LVL 3

Expert Comment

by:DVB
ID: 2691567
man gzip will help.
0
 
LVL 1

Accepted Solution

by:
sbuehrle earned 10 total points
ID: 2693770
Nothing. In fact gzip, gunzip, and zcat are typically all links to the same file. When the program is executed, it knows what name was
used to call it and acts appropriatly.
0
 
LVL 3

Expert Comment

by:DVB
ID: 2694601
sbuehrle, no they arent. Look in /bin. (Use -l).
[] /bin$ ls -l gzip
-rwxr-xr-x   3 root     root        50384 Mar 26  1999 gzip*
[] /bin$ ls -l gunzip
-rwxr-xr-x   3 root     root        50384 Mar 26  1999 gunzip*
[] /bin$ ls -l zcat
-rwxr-xr-x   3 root     root        50384 Mar 26  1999 zcat*        
0
 
LVL 84

Expert Comment

by:ozo
ID: 2694880
3 links and same size and date suggests that sbuehrle was correct
(to confirm, use -i)
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question