using tar to zip linux temrinal code example
Example 1: how to zip with tar command
tar -czvf archive.tar.gz stuff
Example 2: how to tar linux
tar -zcvf file.tar.gz /path/to/dir/
tar -czvf archive.tar.gz stuff
tar -zcvf file.tar.gz /path/to/dir/