Compactando arquivos
# tar -cvzf nome_arquivo.tgz arquivo_ou_diretorio_a_ser_compactado
Descompactando arquivos
#tar -xvzf nome_arquivo.tgz
onde:
c : create a new archive
x : extract files from an archive
v : verbosely list files processed
z : filter the archive through gzip
f : use archive file or device ARCHIVE
Para usuários windows, baixe o software 7-Zip e descompacte o arquivo .tgz.