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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux