Skip to content

Instantly share code, notes, and snippets.

@rifayetuxbd
Last active December 29, 2021 02:32
Show Gist options
  • Select an option

  • Save rifayetuxbd/131ade02561cd4ede956061c45a1e5ec to your computer and use it in GitHub Desktop.

Select an option

Save rifayetuxbd/131ade02561cd4ede956061c45a1e5ec to your computer and use it in GitHub Desktop.
Get sha256 checksum in any Operating system using command

Get Sha256 Checksum of a File (Windows, Linux, Mac)

LINUX

sha256sum /path/to/file

MAC

shasum -a 256 /path/to/file

WINDOWS

Powershell

Get-FileHash C:\path\to\file -Algorithm SHA256

CMD

CertUtil -hashfile C:\path\to\file SHA256
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment