LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (http://www.linuxquestions.org/questions/%2Absd-17/)
-   -   How to check md5sum (http://www.linuxquestions.org/questions/%2Absd-17/how-to-check-md5sum-550635/)

satimis 05-02-2007 08:48 AM

How to check md5sum
 
Hi folks,

OpenBSD 4.0 amd64


I have following package/file download;

amavisd-new-2.5.0.tar.gz
amavisd-new-2.5.0.tar.gz.md5

I looked at "man md5" and could not resolve how to check md5 making use of the file "amavisd-new-2.5.0.tar.gz.md5". Please help.

TIA


B.R.
satimis

slakmagik 05-02-2007 09:36 AM

md5sum -c MD5FILE

satimis 05-02-2007 09:41 AM

Quote:

Originally Posted by digiot
md5sum -c MD5FILE

Hi,


I got it.

$ md5 -c amavisd-new-2.5.0.tar.gz.md5
(MD5) amavisd-new-2.5.0.tar.gz: OK


B.R.
satimis

reddazz 05-02-2007 09:50 AM

If you want to see the actual value of the md5sum, try doing
Code:

$md5 somefile
or
Code:

$md5 -s somefile

satimis 05-02-2007 10:16 AM

Quote:

Originally Posted by reddazz
If you want to see the actual value of the md5sum, try doing
Code:

$md5 somefile
or
Code:

$md5 -s somefile

Hi reddazz,


Noted with tks.

satimis

StarsAndBars14 05-05-2007 12:17 AM

I personally wouldn't use "md5 -s " 'cause I've known the output of that to differ alongside just "md5."


All times are GMT -5. The time now is 02:07 AM.