Command to zip a folder – linux ubuntu

 

zip folder-name *

It compress all the files in the respective folder and create an archive folder-name.zip

zip – r  folder-name *

It  compress all the data including its sub folder contents