tldr/pages/osx/md5.md

21 lines
379 B
Markdown
Raw Normal View History

# md5
> Calculate MD5 cryptographic checksums.
> More information: <https://ss64.com/osx/md5.html>.
2016-01-20 11:45:42 +00:00
- Calculate the MD5 checksum for a file:
2015-11-22 20:48:31 +00:00
`md5 {{filename}}`
2016-01-20 11:45:42 +00:00
- 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:
2022-02-14 11:21:43 +00:00
`md5 -s "{{string}}"`