how to convert a tar file to tar.gz in linux code example Example: tar gz linux command tar -czvf projects.tar.gz projects/