See Linux Archive Tools (tar, star, gzip, bzip2, zip, cpio).
In order to save space on the filesystem you may wish to compress files such as archived redo logs. This can be using either the
gzip
or the compress
commands. The gzip
command results in a compressed copy of the original
file with a ".gz" extension. The gunzip
command reverses this process.Thegzip myfile gunzip myfile.gz
compress
command results in a compressed copy of the original file with a ".Z" extension. The uncompress
command reverses this process.compress myfile uncompress myfile
No comments:
Post a Comment