Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 475
  • Last Modified:

gunzip and gzip

What is the different between gunzip and also gzip ?
0
ahchong
Asked:
ahchong
1 Solution
 
bcolemanCommented:
gzip zip a file (compresses it)
gunzip unzips a file (uncompresses it)
0
 
DVBCommented:
man gzip will help.
0
 
sbuehrleCommented:
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
 
DVBCommented:
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
 
ozoCommented:
3 links and same size and date suggests that sbuehrle was correct
(to confirm, use -i)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now