how to zip folder terminal unix code example Example: zip folder terminal zip -r mynewfilename.zip foldertozip/