[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: md5sum command syntax



On Mon, 2006-10-16 at 20:05 +0100, Thufir wrote:
> I've read the f#$%ing manual.
> 
> Files:
> 
> foo.iso
> foo.iso.md5
> 
> To verify, the command is....?

It's in "man md5sum" if you'd read it.

The command is "md5sum foo.iso" and compare the output against the data
in foo.iso.md5.

If you want it automatically and assuming foo.iso.md5 contains JUST the
MD5 checksum:

	# md5sum foo.iso | cut -d" " -f1 | diff --brief - foo.iso.md5

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens vitalstream com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-    They say when you play a Microsoft CD backwards, you'll hear    -
-   Satanic messages, but if you play it forwards, it will install   -
-           Windows...which means Satan is in your system.           -
----------------------------------------------------------------------


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]