I created .tgz file with tar czvf file
command.then I ended up with a tgz file. I want to know the difference between it and tar.gz.
One difference is that browsers seem to have trouble with .tar.gz sometimes, for example, when downloading such a file that already exists locally, it can happen, that they rename it to .tar-1.gz, which will then create problems with certain archivers, mostly on Windows and other environments that use filename ending for file type designation.
This doesn't happen with .tgz ending.