What do I use to validate a file againt it's MD5 checksum?

Discussion in 'General Mac Discussion' started by edesignuk, Oct 25, 2003.

  1. Moderator emeritus

    edesignuk

    Joined:
    Mar 25, 2002
    Location:
    London, England
    #1
    OK, so I have a file, and I also have it's MD5 checksum, now I don't really know the first thing about what an MD5 checksum is, but I presume it's a way to validate if the file is complete/intact.
    How do I check a file against it's MD5 checksum?

    Thanks!
     
  2. Guest

    caveman_uk

    Joined:
    Feb 17, 2003
    Location:
    Hitchin, Herts, UK
    #2
    Use

    md5 <filename>

    in the terminal. It will give the checksum of the file. You check the one it calculated against the one you've been given with the file.
     
  3. thread starter Moderator emeritus

    edesignuk

    Joined:
    Mar 25, 2002
    Location:
    London, England
    #3
    <feels like an idiot> Thanks! So simple! </feels like an idiot>
     

Share This Page