«

»

Aug 20

How to check MD5 checksum of a file in linux

To check MD5 checksum of a file in linux go to folder containing file and md5 checksum which normally ends “.md5″.

First display content of existing file:

# cat yourfile.md5
bc4708c34c971595649207fe1ea012ba  yourfile 

Next generate new checksum using md5sum command:

# md5sum yourfile
bc4708c34c971595649207fe1ea012ba yourfile

Compare both outputs, of they are not identical file has been modified since initial hash has been generated.

Follow me!

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>