Name

md5

Synopsis

md5 [options] [-s string] [files]

Calculates an md5 checksum value of the text provided in string, files, or from standard input. By default, when string or files is given, md5 prints those values first, followed by the checksum.

Options

-s string

Calculate a checksum of the text in string.

-p

Print the standard input followed by the checksum.

-q

Operate in quiet mode. Print only the checksum.

-r

Reverse the order of the output when string or files is given (checksum first).

-t

Run the built-in speed test, which calculates a checksum from 100 MB of data.

-x

Run the built-in test suite, which calculates checksums from seven short strings.

Get Mac OS X Panther in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.