Skip to content

Instantly share code, notes, and snippets.

@struCoder
Created April 18, 2019 06:24
Show Gist options
  • Save struCoder/b20768520b4d6df36108b4c7c8307c26 to your computer and use it in GitHub Desktop.
Save struCoder/b20768520b4d6df36108b4c7c8307c26 to your computer and use it in GitHub Desktop.
checksum
MD5 checksum
In order to find the MD5 checksum value of a file using the following command in the terminal.
$ md5 /path/to/file
To find the SHA1 checksum value use the following command in the terminal.
$ shasum -a 1 /path/to/file
To find the SHA256 checksum use the following command in the terminal.
$ shasum -a 256 /path/to/file
To find the SHA512 checksum use the following command.
$ shasum -a 512 /path/to/file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment