File Compression - the compress command

If you have large files which you no longer need to access regularly but which you do need to keep, the disk space which they occupy may be drastically reduced by compressing them. For example, if you have a large file called out3.dat then the command:

compress out3.dat

will replace the file out3.dat with a much smaller file called out3.dat.Z. To recover the original, the command:

uncompress out3.dat

will reinstate the file out3.dat and remove the file called out3.dat.Z.

See the online manual for a full description of compress.

IMPORTANT: