next up previous contents
Next: jobs - List jobs Up: Other Useful Commands Previous: gv - Display PostScript   Contents

gzip - Compress/uncompress file

Compress file to save space, but file cannot be used until uncompressed again. This command is often used with tar. Example:-

gzip myfile.dat

Compress the file ``myfile.dat'' and replace it with the compressed file called ``myfile.dat.gz''.

gunzip myfile.dat.gz

Uncompress the file ``myfile.dat.gz'' and replace it with the uncompressed file called ``myfile.dat''.



P.D. Gronbech (IT Staff) 2015-10-02