how to zip through command line ubuntu code example Example: create zip file ubuntu zip -r output_file.zip file1 folder1