Works on 2019-01-24 12:23:24+0800
How to Check SHA1, SHA256 and SHA512 Hashes on Linux
SHA1 hashes [160bit]
put your target file and the hash file in the same folder, and run
sha1sum -c hash-file
man sha1sum to learn more.