Linux - zip folder

simple zip

zip archive.zip my_folder

zip folder and sub folders

zip -r archive.zip my_folder

zip current folder

zip -r archive.zip .