md5sum your-file.tar.gz
6db49d8ea9c85ff44b624fb305c7c818 your-file.tar.gz
Quick trick I found online. It’s part of the coreutils package and should be available on all CentOS installs. Handy for checking if a file one file is identical to another on a remote server without downloading it.