zip folder cli code example
Example 1: zip folder terminal
zip -r mynewfilename.zip foldertozip/
Example 2: zip entire directory ubuntu
zip -r compressed_filename.zip foldername
Example 3: create zip file command line
for ubuntu : zip -r example.zip original_folder