Re: how do I verify that the the checksum is correct?

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

 



On 2/2/07, Paul Smith <phhs80@xxxxxxxxx> wrote:
> > When I do : -
> >
> > sha1sum <iso file>
> >
> > this will output the checksum , do I have to verify by
> > looking at the huge number that it is correct or is
> > there a simple utilty which can compare the 2
> > checksums  ?
> >
> > Thank you,
> > Alex.
> My trick is to copy the checksums into a text file, highlight one of
> them and use find to see if it finds the next one.

I have written a tiny script to do that. Basically, it compares two
strings. I will post it to you later on, as I have not it with me now.

My simple script has the following code:

#!/bin/sh

if [ "$1" = "$2" ] ; then echo "same" ; else echo "different" ; fi

Paul


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

  Powered by Linux