Decompressing File in Unix / Linux using gzip and gunzip Commands
Here you can find two tips to decompress the already compressed file in unix / linux terminal with examples. They are
- Using gzip command
- Using gunzip command
1. Using gzip Command with option -d
- This command with option -d is used to decompress the compressed file.
Syntax
gzip -d file.gz
Example
2. Using gunzip Command
- This command will be used to decompress the file without taking option in linux / unix terminal.
Syntax
gunzip file.gz
Example