how to zip a folder using cpmmand linux code example Example: linux zip a directory zip -r filename.zip /path/to/folder1