compressing a fo;der in ubuntu code example
Example 1: compress folder ubuntu
tar -czvf name-of-archive.tar.gz /path/to/directory-or-file
Example 2: zip entire directory ubuntu
zip -r compressed_filename.zip foldername
tar -czvf name-of-archive.tar.gz /path/to/directory-or-file
zip -r compressed_filename.zip foldername