LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-11-2011, 08:15 AM   #1
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Ubuntu
Posts: 794

Rep: Reputation: 56
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.

Last edited by dudeman41465; 04-11-2011 at 08:19 AM.
 
Old 04-11-2011, 08:16 AM   #2
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 218

Rep: Reputation: 27
Find the MD5 hash of the iso using the
Code:
md5sum
command.
See if it matches the text in the .md5 file.
 
Old 04-11-2011, 08:19 AM   #3
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Ubuntu
Posts: 794

Original Poster
Rep: Reputation: 56
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Comparing two files ab52 Programming 10 12-01-2010 12:08 PM
comparing files newbiesforever Linux - Software 3 07-07-2010 04:20 PM
Comparing two files problem caponewgp Linux - Newbie 5 09-17-2009 03:20 PM
comparing lots of files Frustin Linux - General 4 09-22-2005 03:54 PM
Comparing 2 Files xianzai Programming 2 05-23-2004 12:50 PM


All times are GMT -5. The time now is 03:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration