Win7
certutil -hashfile <filename> MD5
certutil -hashfile <filename> SHA1
certutil -hashfile <filename> SHA256
-------------------------------------------------------------------------
Linux
md5sum <filename>
sha1sum <filename>
sha256sum <filename>