# Compresses a file into a .gz file gzip file # creates file.gz
# gzip a file and keep the original gzip < file > file.gz
# decompress gzip to file gzip -dc < myfile.txt.gz > myfile.txt
# replace all files ending in '.log' with a zipped version of the same file ending in '.log.gz' gzip *.log
# comprime con compresion maxima gzip -9 file1