gunzip and gzip

What is the different between gunzip and also gzip ?
ahchongAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
sbuehrleConnect With a Mentor Commented:
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
 
bcolemanCommented:
gzip zip a file (compresses it)
gunzip unzips a file (uncompresses it)
0
 
DVBCommented:
man gzip will help.
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
All Courses

From novice to tech pro — start learning today.