md5sum command syntax

Tony Nelson tonynelson at georgeanelson.com
Mon Oct 16 22:06:26 UTC 2006


At 1:54 PM -0700 10/16/06, Rick Stevens wrote:
>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

or:

    md5sum -c foo.iso.md5
-- 
____________________________________________________________________
TonyN.:'    The Great Writ     <mailto:tonynelson at georgeanelson.com>
      '      is no more.             <http://www.georgeanelson.com/>




More information about the fedora-list mailing list