tldr/pages/osx/md5.md
2016-01-20 03:45:42 -08:00

20 lines
324 B
Markdown

# md5
> Calculate MD5 cryptographic checksums.
- Calculate the MD5 checksum for a file:
`md5 {{filename}}`
- Calculate MD5 checksums for multiple files:
`md5 {{filename1}} {{filename2}}`
- Output only the md5 checksum (no filename):
`md5 -q {{filename}}`
- Print a checksum of the given string:
`md5 -s {{string}}`