win7
certutil -hashfile <filename> MD5
certutil -hashfile <filename> SHA1
certutil -hashfile <filename> SHA256
-------------------------------------------------------------------------
linux
md5sum <filename>
sha1sum <filename>
sha256sum <filename>