md5sum command syntax
Rick Stevens
rstevens at vitalstream.com
Mon Oct 16 20:54:27 UTC 2006
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 at 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. -
----------------------------------------------------------------------
More information about the fedora-list
mailing list