Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 472
  • 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

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

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