14
Jul
How to zip a folder in Ubuntu Linux / Debian Linux
Comments
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
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/file2