zip a directory ubuntu 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
zip -r mynewfilename.zip foldertozip/
zip -r compressed_filename.zip foldername