Checksum a file with md5sum

md5sum creates file hashes. The hash is solely based on the file contents (even if you change the file name, the hash remains the same).

$ md5sum 

To create a file containing hashes, do:

$ md5sum > MD5SUM.txt

To verify if the file was not tampered:

$ md5sum -c MD5SUM.txt OK

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s