sha256sum Command Examples

Calculate SHA256 cryptographic checksums. More information: https://www.gnu.org/software/coreutils/manual/html_node/sha2-utilities.html.

sha256sum {{path/to/file1 path/to/file2 ...}}

sha256sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha256}}

{{command}} | sha256sum

sha256sum --check {{path/to/file.sha256}}

sha256sum --check --quiet {{path/to/file.sha256}}

sha256sum --ignore-missing --check --quiet {{path/to/file.sha256}}