Thank you for your reply. Will do.
Alex.
--- "Jacques B." <jjrboucher(a)gmail.com> wrote:
The -c option is the easiest in my opinion as it
uses the features of
the checksum application.
If you want to do it otherwise, you could do
something like:
test [ "`sha1sum cd.iso`" = "`cat checksumfile.txt`"
] && echo
"matches" || "echo "no match"
where checksumfile.txt is the one provided by the
web site.
I'm not in my Linux partition right now so I can't
check the syntax to
be exactly certain that is right. If it's off I'm
sure someone can
correct it. But ultimately why do that when you can
simply use the -c
option?
Alternatively you could do
sha1sum cd.iso >> checksumfile.txt
where "checksumfile.txt" is the one provided by the
web site.
Then you can cat the file and easily compare the two
because they will
be one under the other so at a glance easy to see if
they match or
not.
Jacques B.
--
fedora-list mailing list
fedora-list(a)redhat.com
To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-list
____________________________________________________________________________________
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097