How to Zip a folder in linux?

You can zip a file easily in Linux, but creating a zip of a folder is a bit boring process. Following is a simple command to create a zip for a folder in Linux.

zip  -r  foldername

You can add the option -9 to the command for best compression.
[wpfmb type=’info’ theme=2]if you don’t know how to enable innodb strorage engine you can check our article on InnoDB[/wpfmb]