how to zip folder in linux with command code example
Example 1: linux zip a directory
zip -r filename.zip /path/to/folder1
Example 2: create zip file terminal linux
$ zip -r tecmint_files.zip tecmint_files
zip -r filename.zip /path/to/folder1
$ zip -r tecmint_files.zip tecmint_files