create tar file linux from files code example
Example 1: how to zip with tar command
tar -czvf archive.tar.gz /usr/local/something
Example 2: how to make a tarball in linux
tar -cvzf name.tar /path/to/directory
tar -czvf archive.tar.gz /usr/local/something
tar -cvzf name.tar /path/to/directory