zip using command line 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
Example 4: create zip file command line
for ubuntu : zip -r example.zip original_folder