5 examples for gzip
# replace all files ending in '.log' with a zipped version of the same file ending in '.log.gz'
gzip *.log
# replace all files ending in '.log' with a zipped version of the same file ending in '.log.gz'
gzip *.log