info > sha1sum(1)

📝 Name

sha1sum — Print or check SHA-1 digests

🚀 Quick Reference

Use CaseCommandDescription
Compute SHA-1 checksum of a filesha1sum file.txtOutput the 160-bit SHA-1 checksum for file.txt
Check SHA-1 checksums from a filesha1sum -c checksums.sha1Read and verify checksums from checksums.sha1 (same as md5sum -c)
Compute SHA-1 checksums for all files in directorysha1sum *Compute and display checksums for all files in current directory

🔐 6.6 'sha1sum': Print or check SHA-1 digests

sha1sum computes a 160-bit checksum for each specified FILE. The usage and options of this command are precisely the same as for md5sum. 🔗 See md5sum invocation for details.

💡 Note: The SHA-1 digest is more reliable than a simple CRC (provided by the cksum command) for detecting accidental file corruption, as the chances of accidentally having two files with identical SHA-1 are vanishingly small. However, it should not be considered secure against malicious tampering: although finding a file with a given SHA-1 fingerprint is considered infeasible at the moment, it is known how to modify certain files, including digital certificates, so that they appear valid when signed with an SHA-1 digest. For more secure hashes, consider using SHA-2, or the newer b2sum command. 🔗 See sha2 utilities and b2sum invocation for details.

sha1sum(1)
📝 Name 🚀 Quick Reference 🔐 6.6 'sha1sum': Print or check SHA-1 digests

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-08 12:28 @216.73.216.150
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format