shasum Command Examples

Calculate SHA cryptographic checksums. More information: https://manned.org/shasum.

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

shasum --algorithm {{1|224|256|384|512|512224|512256}} {{path/to/file1 path/to/file2 ...}}

{{command}} | shasum

shasum --algorithm 256 {{path/to/file1 path/to/file2 ...}} > {{path/to/file.sha256}}

shasum {{[-c|--check]}} {{path/to/file}}

shasum {{[-c|--check]}} --quiet {{path/to/file}}

shasum --ignore-missing {{[-c|--check]}} --quiet {{path/to/file}}

echo {{known_sha_checksum_of_the_file}} {{path/to/file}} | shasum {{[-c|--check]}}