LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 05-02-2007, 08:48 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,426

Rep: Reputation: 53
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
 
Old 05-02-2007, 09:36 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
md5sum -c MD5FILE
 
Old 05-02-2007, 09:41 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,426

Original Poster
Rep: Reputation: 53
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
 
Old 05-02-2007, 09:50 AM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
If you want to see the actual value of the md5sum, try doing
Code:
$md5 somefile
or
Code:
$md5 -s somefile
 
Old 05-02-2007, 10:16 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,426

Original Poster
Rep: Reputation: 53
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
 
Old 05-05-2007, 12:17 AM   #6
StarsAndBars14
Member
 
Registered: Nov 2006
Location: Tennessee
Distribution: Fedora Core 12
Posts: 49

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check md5sum and mor Whoppix271 jack montana Linux - Security 1 01-12-2007 11:23 AM
every slack10.1 I dl is failing md5sum check Seiken Slackware 17 03-06-2005 04:22 PM
md5sum to check files? serendipitysdc Fedora - Installation 2 06-22-2004 08:12 PM
md5sum how do you check a file with it ? Joe47 Linux - Newbie 6 11-30-2003 08:02 PM
md5sum check? digitalbanana Linux - General 1 07-01-2002 04:49 PM


All times are GMT -5. The time now is 12:00 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration