Linux For Cynics One user's experiences with Linux

20Mar/130

Using MD5 to Verify Downloaded Files

An MD5 sum is a string of numbers and letters used to verify the integrity of a file. If two files are identical, then they have the same MD5 sum. Here's an example of how to use it:

Let's find a file to download, such as the Crunchbang Linux installer image:

md5capture

Notice how it has the MD5 sum to check against under the download link? Once we have it downloaded, we can run md5sum to generate the checksum for the file we have on our disk:

$ md5sum crunchbang-11-201330119-i686.iso

Now just check to make sure that the resulting string is the same as the one listed! If it's the same, then the file on the server is identical to the file you downloaded.

Filed under: How to Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.