howto md5sum on mac os x

I was a bit surprised to find that my Mac didn’t have the md5sum utility installed by default. A quick Google and I learned that OS X has md5, one of the openssl digest functions. Turns out that md5 can mimic md5sum output by using the -r arg.

So I created an alias in my .bash_profile which defines md5sum to the equivalent md5 command. This pretty much guarantees I will forget that there is no md5sum in OS X but do I really need to remember this if it just works? I think not.

One Response to “howto md5sum on mac os x”

  1. frog Says:

    Porsibly due to it’s heritage as a descendent of BSD eh?

Leave a Reply