targz command linux code example
Example 1: archive linux
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