1SHA1SUM(1) User Commands SHA1SUM(1)
2
3
4
6 sha1sum - compute and check SHA1 message digest
7
9 sha1sum [OPTION]... [FILE]...
10
12 Print or check SHA1 (160-bit) checksums.
13
14 With no FILE, or when FILE is -, read standard input.
15
16 -b, --binary
17 read in binary mode
18
19 -c, --check
20 read checksums from the FILEs and check them
21
22 --tag create a BSD-style checksum
23
24 -t, --text
25 read in text mode (default)
26
27 -z, --zero
28 end each output line with NUL, not newline, and disable file
29 name escaping
30
31 The following five options are useful only when verifying checksums:
32 --ignore-missing
33 don't fail or report status for missing files
34
35 --quiet
36 don't print OK for each successfully verified file
37
38 --status
39 don't output anything, status code shows success
40
41 --strict
42 exit non-zero for improperly formatted checksum lines
43
44 -w, --warn
45 warn about improperly formatted checksum lines
46
47 --help display this help and exit
48
49 --version
50 output version information and exit
51
52 The sums are computed as described in FIPS-180-1. When checking, the
53 input should be a former output of this program. The default mode is
54 to print a line with: checksum, a space, a character indicating input
55 mode ('*' for binary, ' ' for text or where binary is insignificant),
56 and name for each FILE.
57
58 Note: There is no difference between binary mode and text mode on GNU
59 systems.
60
62 Do not use the SHA-1 algorithm for security related purposes. Instead,
63 use an SHA-2 algorithm, implemented in the programs sha224sum(1),
64 sha256sum(1), sha384sum(1), sha512sum(1), or the BLAKE2 algorithm, im‐
65 plemented in b2sum(1)
66
68 Written by Ulrich Drepper, Scott Miller, and David Madore.
69
71 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
72 Report any translation bugs to <https://translationproject.org/team/>
73
75 Copyright © 2022 Free Software Foundation, Inc. License GPLv3+: GNU
76 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
77 This is free software: you are free to change and redistribute it.
78 There is NO WARRANTY, to the extent permitted by law.
79
81 cksum(1)
82
83 Full documentation <https://www.gnu.org/software/coreutils/sha1sum>
84 or available locally via: info '(coreutils) sha1sum invocation'
85
86
87
88GNU coreutils 9.1 January 2023 SHA1SUM(1)