zip folder terminal code example
Example 1: zip folder terminal
zip -r mynewfilename.zip foldertozip/
Example 2: compress file in terminal
tar -czvf name-of-archive.tar.gz /path/to/directory-or-file
Example 3: how to create a zip in ubuntu
zip -r 19ucs026ApoorvSrivastava.zip 19ucs026ApoorvSrivastava