Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MD5SUM

Status
Not open for further replies.

tobyheywood

IS-IT--Management
Apr 20, 2001
122
GB
Hi all,

I am very reluctant to ask this question but here we go...

I have been playing around with the MD5SUM command to check the sum of a iso cd image and so far have only received messages back saying that the directory or file cannot be found.

The syntax used was: md5sum -c shrike-i386-disc1.iso which I had hoped would display the checksum so I could compare it with the one from redhat.

So my silly question for the day is this, how exactly should the syntax be? and is there a web site anywhere which would help me with this rather simplistic task?

Thank you in advance.

Regards

Toby Heywood

Toby Heywood
 
Skip the -c option. This is used for comparing to the listing in a file (that you may not have downloaded or may not have even been available) usually named filename.md5 or similar.
 
Thanks Smah,

I had to be something simple (especially as there are very few flags for the command). But just to clarify, if I had the .md5 file I would use the following syntax:

Code:
md5sum -c
filetocheck md5file
Code:
.md5

Regards

Toby Heywood
 
No, I don't think that's quite right. If you have the .md5 file, you'd run md5sum against that while you're in the same directory with your .iso(s). Something like:

md5sum -c md5file.md5
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top