add some contents to example.txt
and check with
$ sha1sum -c example.sha1
example.txt: FAILED
sha1sum: WARNING: 1 computed checksum did NOT match
updated the SHA-1 file against the example.txt
$ sha1sum new.txt > example.sha1
$ sha1sum -c example.sha1
example.txt: OK
To forcefully change the command’s capabilities to read in binary mode
$ sha1sum -b example.sha1
To print help commands
$ sha1sum - -help
To get a list of other sha-related commands
$ sha
regards,
T.Dhanasekar