how to pack a zip file in the linux terminal code example Example: linux zip a directory zip -r filename.zip /path/to/folder1