Ubuntu: How to check hash values of files

From SolverBase.com
Jump to: navigation, search


  • How to check the hashes of files on Ubuntu linux?

Solution (Terminal)

  • Open the Terminal and use the following commands:
  • For MD5 Hash:
md5sum myfile
  • For SHA-1 Hash:
sha1sum myfile
  • For SHA-2 Hash there are three hash functions:
sha224sum myfile
sha256sum myfile
sha512sum myfile

Ubuntu check: MD5, SHA1, SHA2, SHA224, SHA256, SHA512