O'Reilly logo

Mac OS X Tiger in a Nutshell by Jason McIntosh, Chuck Toporek, Chris Stone, Andy Lester

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required