folder zip command in linux code example
Example 1: linux zip a directory
zip -r filename.zip /path/to/folder1
Example 2: create zip file ubuntu
zip -r output_file.zip file1 folder1
zip -r filename.zip /path/to/folder1
zip -r output_file.zip file1 folder1