Calculate the SHA-256 checksum of a file
Build a paste-ready command, then review its compatibility and effects before running it.
Complete required fields to copy the generated command.
read-onlyno known side effects Compatibility
LinuxUse shasum -a 256 on macOS.
Operational knowledgereview due 2027-01-19
Requirementssha256sumsha256sum must be installed and available on PATH.
Version supportsha256sum Current supported releasesVerified for linux, macos using posix, bash, zsh syntax; consult compatibility notes for platform-specific differences.
Expected signalsa08f4f133a9e1151373a2f3ce02bc5d9fe0f6f6a2d6c4cc56ccf06a4725bc0da release.tar.gzRepresentative successful output; values vary with the selected target and system state.
Known errorssha256sum: command not foundsha256sum is missing or is not available on PATH.
Verifysha256sum {{file}}The output matches the expected target and exits without an error.Rollback noteNot required: this command is read-only and does not change system state.
Command breakdown
01sha256sumCommandRuns the sha256sum stage of this one-liner.
02<file>ParameterA value supplied in the Fill parameters section.
Example input
sha256sum release.tar.gz
Example output
a08f4f133a9e1151373a2f3ce02bc5d9fe0f6f6a2d6c4cc56ccf06a4725bc0da release.tar.gz
Illustrative output — exact values vary by system and data.
Official sources