how to make a folder a zip file ubuntu code example Example: zip entire directory ubuntu zip -r compressed_filename.zip foldername