to decompress a file using gunzip
gunzip colors.gz
force a file to decompress
gunzip -f colors.gz
to keep both the compressed and decompressed file
gunzip -k colors.gz
to read the compressed file
gunzip -l colors.gz
decompressing the files recrusively
gunzip -r/tmp
it keeps the both compressed and decompressed fies
gunzip -K colors.txt.gz
display compressed within it without decompressing first
$ gunzip -c colors.txt.gz
test the file before decompressing it to know it is valid or not
$ gunzip -t colors.txt.gz
it shows the verbose when we decompress the file
$gunnzip -v colors.txt.gz
to decompress the the given file
gunzip -d colors.txt.gz