Linux Zip and Unzip

Zip and Unzip
To compress a le with zip, type the following command:

zip -r filesdir

In this example, represents the le you are creating and filesdir represents the
directory you want to put in the new zip le. The -r option species that you want to include all les
contained in the filesdir directory recursively.
To extract the contents of a zip le, type the following command:


You can use zip to compress multiple les and directories at the same time by listing them with a
space between each one:

zip -r 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