Verifying a SHA Checksum on a Mac

Print SHA Checksum
shasum -a 256 2020-05-27-raspios-buster-full-armhf.zip

Output:

fdbd6f5b5b7e1fa5e724bd8747c5109801442e9200144d0a1941c9e73c93dd61  2020-05-27-raspios-buster-full-armhf.zip
Save Checksum to File
shasum -a 256 2020-05-27-raspios-buster-full-armhf.zip > hash.sha256
Verify Checksum from File
shasum -c hash.sha256

Output:

2020-05-27-raspios-buster-full-armhf.zip: OK

Leave a comment

Your email address will not be published. Required fields are marked *