Prerequisite: Verify if zip is installed
sudo apt install zip unzip
Now that you know your system has zip support, you can read on to learn how to zip a directory in Linux.
Zip a folder in Linux Command Line
The syntax for using the zip command is pretty straight forward.
zip [option] output_file_name input1 input2