Skip to content

Instantly share code, notes, and snippets.

@ahelja
Created November 22, 2020 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahelja/705041c8c7ae5ac751685a814432d33d to your computer and use it in GitHub Desktop.
Save ahelja/705041c8c7ae5ac751685a814432d33d to your computer and use it in GitHub Desktop.
Generate checksum of file with openssl
# SHA256, used in chef cookbooks
openssl dgst -sha256 path/to/myfile
# MD5
openssl dgst -md5 path/to/myfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment