linux terminal zip folder current code example
Example 1: linux zip a directory
zip -r filename.zip /path/to/folder1
Example 2: zip folder terminal
zip -r mynewfilename.zip foldertozip/
zip -r filename.zip /path/to/folder1
zip -r mynewfilename.zip foldertozip/