what to do with a tar gz file in linux command line code example Example: tar.gz files tar -czvf name-of-archive.tar.gz /path/to/directory-or-file