ubuntu file to zip code example
Example 1: ubuntu zip file
zip -r example.zip original_folder
Example 2: zip entire directory ubuntu
zip -r compressed_filename.zip foldername
zip -r example.zip original_folder
zip -r compressed_filename.zip foldername