Re: md5sum command syntax

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

 



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     [email protected] -
- 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.           -
----------------------------------------------------------------------


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux