what is .tar file code example Example: tar file tar -czvf name-of-archive.tar.gz /path/to/directory-or-file