System Grab Bag

View all TLDR pages from Mac OS X (or from all pages)

md5

Calculate MD5 cryptographic checksums. More information: https://ss64.com/osx/md5.html.
  • Calculate the MD5 checksum for a file:
    md5 {{path/to/file}}
  • Calculate MD5 checksums for multiple files:
    md5 {{path/to/file1 path/to/file2 ...}}
  • Output only the md5 checksum (no filename):
    md5 -q {{path/to/file}}
  • Print a checksum of the given string:
    md5 -s "{{string}}"

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.