zip a file terminal code example Example: create zip file ubuntu zip -r output_file.zip file1 folder1