Mac OS X: how to generate md5 sha1 sha256 checksums from command line








  • Calculate MD5 checksum:
    md5 /tmp/1.iso
    
  • Calculate SHA-1 checksum:
    shasum -a 1 /tmp/1.iso
    
  • Calculate SHA-256 checksum:
    shasum -a 256 /tmp/1.iso
    



15 comments:

  1. thank you for posting this! saved me a lot of time browsing man pages ;)

    ReplyDelete
  2. Informative article, just what I was looking for. Thank you so much for taking the time for you personally to share such a nice info.
    ________________________
    Corel painter for Mac

    ReplyDelete
  3. I came here from google search. Thanks for the help

    ReplyDelete
  4. Made my life easier being able to do this on MacOS !Windows. Tx.

    ReplyDelete
  5. Thank you for sharing this information. Much appreciated!

    ReplyDelete
  6. There is a reason why I bought a Mac, it was not to be one of the cool kids that wanted the best of the best. No it was because of the music production I do on it. Hours and hours sitting in front of my Mac copying, pasting, moving, deleting, hour after hour just beating on my Mac in a endless assault to get my work done. That is the key part, my work. I work from home, it is great, but even if it is from home it is still work and it still needs to get done. So my Mac, I have it because it is fast, gets the job done and comes back for more.

    But what happens when it doesn't want to do those things anymore?

    I move around massive amounts of information and yes even on the almighty Mac this can cause a problem after a while. Things fragment, programs get corrupted issues come up. My light speed Mac slows down to a crawl and all of the sudden I simply can not get any work done. Because I work from home there is no IT guy to call and ask to come fix it. No instead I have to figure out what is wrong. I am lucky, I did, but not after trying everything under the sun first and wasting countless hours looking for one program that can do what I needed instead of ten programs. One program to lead them all….okay that was a lame Lord of the rings reference, but that program was/is Detox My Mac. A simple to use program that did not just fix my issues, it put my Mac on overdrive again. A few clicks and my Mac was clean and ready to rock and roll again.

    Read more here:- http://detox-my-mac.com?98274rwehf78t34

    ReplyDelete