linux zip a directory

Shell
zip -r filename.zip /path/to/folder1
Source

Also in Shell: