To use zip command on Linux Ubuntu is very easy but has some requirements
First need to install ZIP software. Please note ZIP and Unzip software require seperate installations.
To install ZIP in Ubuntu using command prompt use
apt-get install zip
Then use the syntax command as follows
zip -r zippedfilename.zip /locationofthefoldertobezipped
Example I used
zip -r emaildatabase2010.zip /home/demo/public_html/bestofmen.org/public/emaildata
to zip the content of the folder ’emaildata’
The zipped file is stored in the ‘root’ folder.
Please ask if you have any questions.