Thanks for your advice.
I can run
$ md5sum AAA.rpm
and
md5sum BBB.tgz
comparing their output against the md5sum file (disregarding whether the latter is in the same folder or not). But I am looking whether there is a shortcut similar to running
$ md5sum CCC.iso.md5
generating OK or NOT rather than comparing the outcome
B.R. Stephen
Lamar Milligan wrote:
----- Original Message ----- From: "Stephen Liu" <satimis@xxxxxxxxxxxx> To: "RH mailing list" <shrike-list@xxxxxxxxxx> Sent: Wednesday, October 08, 2003 12:31 PM Subject: Syntax to check md5sum
Hi all folks,
What will be the correct syntax to check md5sum of a package
To check the package foo.bar.rpm in the current directory, you could:
$ md5sum foo.bar.rpm 19a721224b3c6593a43e51fe1b53c6d4 foo.bar.rpm
and compare the result to the contents of the foo.bar.rpm.md5 file
provided by the package author
$ md5sum -c shorewall-1.4.7-1.noarch.rpm.md5 md5sum: shorewall-1.4.7-1.noarch.rpm.md5: No such file or directory
$ md5sum -c shorewall-1.4.7.tgz.md5 md5sum: shorewall-1.4.7.tgz.md5: No such file or directory
Good Luck, Lamar
-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list