md5sum

Name

md5sum -- generates or checks MD5 message digests

Synopsis

md5sum [-b] [-c [file]] | [file...]

Description

For each file, write to standard output a line containing the MD5 checksum of that file, followed by one or more blank characters, followed by the name of the file. The MD5 checksum shall be calculated according to RFC1321 and output as 32 hexadecimal digits (as RFC1321 does).

If no file names are specified as operands, read from standard input and use "-" as the file name in the output.

Options

-b

uses binary mode.

-c [file]

checks md5sum of all files listed in file against the checksum listed in the same file. The actual format of that file is the same as output of md5sum. That is, each line in the file describes a file.