Compute MD5 message digests.

Synopsis

md5sum [OPTION]... [FILE]...

Description

Prints the MD5 checksum of each FILE, or of standard input if none is given.

Options

-c, --check Read checksums from FILEs and check them.

--help Display help and exit.

Examples

$ md5sum file.txt

Print the MD5 checksum of file.txt.

$ md5sum *.iso > checksums.md5

Save checksums for later verification.

$ md5sum -c checksums.md5

Verify files against saved checksums.

Notes

MD5 is not cryptographically secure; prefer sha256sum for integrity where security matters.

See Also

sha1sum, sha256sum, cmp