zip file ubuntu terminal code example
Example 1: linux zip a directory
zip -r filename.zip /path/to/folder1
Example 2: ubuntu zip file
zip -r example.zip original_folder
Example 3: create zip file ubuntu
zip -r output_file.zip file1 folder1
zip -r filename.zip /path/to/folder1
zip -r example.zip original_folder
zip -r output_file.zip file1 folder1