.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1.
.TH SHA1SUM "1" "February 2026" "GNU coreutils 9.10" "User Commands"
.SH NAME
sha1sum \- compute and check SHA1 message digest
.SH SYNOPSIS
.B sha1sum
[\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]...
.SH DESCRIPTION
.\" Add any additional description here
.PP
Print or check SHA1 (160\-bit) checksums.
Legacy interface to the cksum utility.
.PP
With no FILE, or when FILE is \-, read standard input.
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum-b'\fB\-b, \-\-binary\fP\X'tty: link'
read in binary mode
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum-c'\fB\-c, \-\-check\fP\X'tty: link'
read checksums from the FILEs and check them
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum--tag'\fB\-\-tag\fP\X'tty: link'
create a BSD\-style checksum
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum-t'\fB\-t, \-\-text\fP\X'tty: link'
read in text mode (default)
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum-z'\fB\-z, \-\-zero\fP\X'tty: link'
end each output line with NUL, not newline,
and disable file name escaping
.SS "The following five options are useful only when verifying checksums:"
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum--ignore-missing'\fB\-\-ignore\-missing\fP\X'tty: link'
don't fail or report status for missing files
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum--quiet'\fB\-\-quiet\fP\X'tty: link'
don't print OK for each successfully verified file
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum--status'\fB\-\-status\fP\X'tty: link'
don't output anything, status code shows success
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum--strict'\fB\-\-strict\fP\X'tty: link'
exit non\-zero for improperly formatted checksum lines
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum-w'\fB\-w, \-\-warn\fP\X'tty: link'
warn about improperly formatted checksum lines
.TP
\X'tty: link https://www.gnu.org/software/coreutils/cksum#cksum--help'\fB\-\-help\fP\X'tty: link'
display this help and exit
.TP
\X'tty: link https://www.gnu.org/software/coreutils/cksum#cksum--version'\fB\-\-version\fP\X'tty: link'
output version information and exit
.PP
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.
.PP
There is no difference between binary mode and text mode on GNU systems.
.SH BUGS
Do not use the MD5 algorithm for security related purposes.
Instead, use an SHA\-2, SHA\-3, or BLAKE2 algorithm,
implemented in the \fBcksum\fP(1) program.
.SH AUTHOR
Written by Ulrich Drepper, Scott Miller, and David Madore.
.SH "REPORTING BUGS"
Report bugs to: bug\-coreutils@gnu.org
.br
GNU coreutils home page:
.br
General help using GNU software:
.br
Report any translation bugs to
.SH COPYRIGHT
Copyright \(co 2026 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later .
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH "SEE ALSO"
\fBcksum\fP(1)
.PP
.br
Full documentation
.br
or available locally via: info \(aq(coreutils) sha1sum invocation\(aq