cli

How to zip a folder in Ubuntu Linux / Debian Linux

First, install the zip command using apt command or apt-get command.
Open the terminal and type the following command:

$ sudo apt install zip unzip
apt install

How do I use zip command to compress a folder?

zip -r filename.zip folder
zip -r filename.zip folder1 folder2
zip -r filename.zip /path/to/folder1 /path/to/file2compress folder cli

compress zip result