SHA1SUM(1)
β¨ SHA1SUM(1) β¨
okay bestie, pull up a chair because we're talking about sha1sum, a User Commands girly from the GNU coreutils house π this is the manual page for her, and yes she is iconic, yes she is legacy, yes she still eats.
π NAME π
sha1sum β compute and check SHA1 message digest π¦
πΈ SYNOPSIS πΈ
sha1sum [OPTION]... [FILE]...
β¨ DESCRIPTION β¨
So basically she prints or checks SHA1 (160-bit) checksums. That's the whole gig. She's the legacy interface to the cksum(1) utility, meaning she's the OG cousin and cksum is the new main character, but we still love her fr fr.
If you give her no FILE, or if FILE is literally just -, she reads from standard input. no notes, that's just how she rolls π«Ά
π OPTIONS π
-b,--binaryβ read in binary mode-c,--checkβ read checksums from the FILEs and check them--tagβ create a BSD-style checksum-t,--textβ read in text mode (this is the default, bestie)-z,--zeroβ end each output line withNUL, not newline, and disable file name escaping
π the five options that only matter when you're verifying checksums π
these five are lowkey useless unless you're in check mode, iykyk:
--ignore-missingβ don't fail or report status for missing files--quietβ don't printOKfor each successfully verified file--statusβ don't output anything, status code shows success--strictβ exit non-zero for improperly formatted checksum lines-w,--warnβ warn about improperly formatted checksum lines
π the lil helper options π
--helpβ display this help and exit--versionβ output version information and exit
π§ THE TEA ON HOW THE SUMS WORK π§
The sums are computed as described in FIPS-180-1. When checking, the input should be a former output of this program. The default mode is to print a line with: checksum, a space, a character indicating input mode ('*' for binary, ' ' for text or where binary is insignificant), and name for each FILE.
and here's the gag: there is no difference between binary mode and text mode on GNU systems. so all that-bvs-tdrama? on GNU it's giving absolutely nothing π
π BUGS π
Do not use the MD5 algorithm for security related purposes. Instead, use an SHA-2, SHA-3, or BLAKE2 algorithm, implemented in the cksum(1) program. like seriously bestie, MD5 for security is not the vibe, that's a whole red flag π©
π AUTHOR π
Written by Ulrich Drepper, Scott Miller, and David Madore. legends only, no cap.
π’ REPORTING BUGS π’
Found a bug? tell the girlies:
- Report bugs to:
<bug-coreutils@gnu.org>. - Report any translation bugs to:
<https://translationproject.org/team/>. - GNU coreutils home page:
<https://www.gnu.org/software/coreutils/> - General help using GNU software:
<https://www.gnu.org/gethelp/>
β COPYRIGHT β
Copyright Β© 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
π¦ SEE ALSO π¦
Full documentation <https://www.gnu.org/software/coreutils/sha1sum> or available locally via: info '(coreutils) sha1sum invocation'
GNU coreutils 9.12 β September 2026 πΈ and that's the whole page bestie, mwah, go checksum something and stay hydrated πβ¨π
π¦ where this page comes from
- arch rolling: coreutils 9.12-2 Β· GPL-3.0-or-later AND GFDL-1.3-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms