How to Zip and Unzip via SSH

zip archive-name.zip your-file.php your-file.php your-file.php In order to compress a directory, use this syntax: zip -r archive-name.zip /directory-name This command is used for .zip file decompression: unzip archive-name.zip Source