LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Comparing Files to MD5 (https://www.linuxquestions.org/questions/linux-newbie-8/comparing-files-to-md5-874302/)

dudeman41465 04-11-2011 07:15 AM

Comparing Files to MD5
 
So I am aware of what an MD5 hash is for, basically you can use it to verify the integrity of something you've acquired. My only question is, how? Let's say I've got an ISO image I just downloaded, and there's another file in the archive with the ISO that is a .md5 file. What would I use/do with these two files to ensure that they match up? Not that I'm concerned about anything in particular, I'm just curious.

austinium 04-11-2011 07:16 AM

Find the MD5 hash of the iso using the
Code:

md5sum
command.
See if it matches the text in the .md5 file.

dudeman41465 04-11-2011 07:19 AM

Wow that was simple enough. I was trying to look stuff up on Google, but for some reason none of the external sites I clicked on were working. I think Transmission is eating up my bandwidth. Thanks!


All times are GMT -5. The time now is 01:56 PM.