cmdxray / commands / sha1sum

What does sha1sum do?

compute or check SHA-1 (160-bit) checksums of files.

▸ Explain your own sha1sum command →

sha1sum examples, explained

$ sha1sum file.iso

  • sha1sumcompute or check SHA-1 (160-bit) checksums of files
  • file.isoan argument passed to the command

$ sha1sum -c SHA1SUMS

  • sha1sumcompute or check SHA-1 (160-bit) checksums of files
  • -cread checksums from the files and verify them
  • SHA1SUMSan argument passed to the command

sha1sum flags & options

-cread checksums from the files and verify them
-bread files in binary mode
-tread files in text mode (default)
--checkread checksums from the files and verify them
--quietwhen checking, don't print OK for each verified file
--statuswhen checking, print nothing; signal result via exit code
--ignore-missingwhen checking, don't fail for missing files

Other commands

Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.