Guia do Linux/Iniciante+Intermediário/Comandos diversos/gunzip

GUNZIP

De uma forma rápida, serve para descompactar arquivos.

Exemplo:

gunzip teste1.txt.gz

Descompacta para o arquivo teste1.txt

Referência retirada de estudo para LPI prova 101:

http://www.uniriotec.br/~morganna/guia/gunzip.html



Help retirado da distro Ubuntu Linaro

Usage: gzip [OPTION]... [FILE]... Compress or uncompress FILEs (by default, compress FILES in-place). Mandatory arguments to long options are mandatory for short options too.

 -c, --stdout      write on standard output, keep original files unchanged
 -d, --decompress  decompress
 -f, --force       force overwrite of output file and compress links
 -h, --help        give this help
 -l, --list        list compressed file contents
 -L, --license     display software license
 -n, --no-name     do not save or restore the original name and time stamp
 -N, --name        save or restore the original name and time stamp
 -q, --quiet       suppress all warnings
 -r, --recursive   operate recursively on directories
 -S, --suffix=SUF  use suffix SUF on compressed files
 -t, --test        test compressed file integrity
 -v, --verbose     verbose mode
 -V, --version     display version number
 -1, --fast        compress faster
 -9, --best        compress better
   --rsyncable   Make rsync-friendly archive