command line zip folder code example
Example 1: ubuntu zip file
zip -r example.zip original_folder
Example 2: zip folder terminal
zip -r mynewfilename.zip foldertozip/
Example 3: create zip file ubuntu
zip -r output_file.zip file1 folder1
zip -r example.zip original_folder
zip -r mynewfilename.zip foldertozip/
zip -r output_file.zip file1 folder1