Calculate MD5 hash of a file on CentOS 6

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

Markdown is allowed in comments.