how to compress to .tgz in linux code example Example: compress to tgz linux tar -cvzf <name of tarball>.tgz /path/to/source/folder