How to MD5 checksum a file on Ubuntu

Posted by on October 26, 2011 in Operating Systems, Ubuntu | 0 comments

How to MD5 checksum a file on Ubuntu

If you need to compare a file to make sure it’s the same file, or contains the same contents, then MD5 checksums are a good way to go. If you use MD5 before you copy a file and after you copy a file, you can ensure that the contents of the file were not changed during the copy. You can also save checksums of files so that in a few months/years, you can ensure that the file was not currupted or changed over time. To get the MD5 checksum of a file use the code below where XXXXXXX is the filename.

md5sum XXXXXXX
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Leave a Comment

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