From: sri on
Hi,

what is md5sum?

I see it in all distro cds.

what is the use of it?

please explain it..
From: The Natural Philosopher on
sri wrote:
> Hi,
>
> what is md5sum?
>
> I see it in all distro cds.
>
> what is the use of it?
>
> please explain it..

IIRC its way of taking a file and giving it an almost unique value,
based on its contents.

So if it changes n anyway, you re bout 99% sure that the next time you
run MD5sum against it, you will get a different answer.

Very useful in distinguishing between two versions of a file that have
the same name, and length, and knowing they re different.


But why sk me? you could have type dit into google and gotten here

http://en.wikipedia.org/wiki/Md5sum

a lot faster.
From: John Hasler on
The Natural Philosopher writes:
> So if it changes n anyway, you re bout 99% sure that the next time you
> run MD5sum against it, you will get a different answer.

More like 99.99999999999999999999999% sure.
--
John Hasler
john(a)dhh.gt.org
Dancing Horse Hill
Elmwood, WI USA
From: The Natural Philosopher on
John Hasler wrote:
> The Natural Philosopher writes:
>> So if it changes n anyway, you re bout 99% sure that the next time you
>> run MD5sum against it, you will get a different answer.
>
> More like 99.99999999999999999999999% sure.
I wont quibble, but the wiki article suggests that there is a crack to
allow corrupted fies to be padded out with the right bit pattern to pass
a test..

From: Stefan Patric on
On Thu, 24 Apr 2008 03:47:24 -0700, sri wrote:

> Hi,
>
> what is md5sum?
>
> I see it in all distro cds.
>
> what is the use of it?
>
> please explain it..

It is a utility used to generate a unique hexadecimal number, a checksum,
of a file. It is used primarily to verify that a downloaded file is the
exact duplicate of the original file, that is, the downloaded file has no
errors.

sha1sum is also another popular checksum generator.

Stef