Gzip and Gunzip

Gzip and Gunzip
To use gzip to compress a le, type the following command at a shell prompt:
gzip filename
The le will be compressed and saved as filename.gz.
To expand the compressed le, type the following command:

gunzip filename.gz

The filename.gz is deleted and replaced with filename.
You can use gzip to compress multiple les and directories at the same time by listing them with a
space between each one:

gzip -r filename.gz file1 file2 file3 /usr/work/school

The above command compresses file1, file2, file3, and the contents of the
/usr/work/school directory (assuming this directory exists) and places them in a le named


Forex Trading