Compress a File With GZip Without Removing It

gzip < file > file.gz