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 SHA1 sums 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 Note: There is no difference between binary and text mode option
28 on GNU system. -z, --zero end each output line with
29 NUL, not newline,
30
31 and disable file name escaping
32
33 The following five options are useful only when verifying checksums:
34 --ignore-missing
35 don't fail or report status for missing files
36
37 --quiet
38 don't print OK for each successfully verified file
39
40 --status
41 don't output anything, status code shows success
42
43 --strict
44 exit non-zero for improperly formatted checksum lines
45
46 -w, --warn
47 warn about improperly formatted checksum lines
48
49 --help display this help and exit
50
51 --version
52 output version information and exit
53
54 The sums are computed as described in FIPS-180-1. When checking, the
55 input should be a former output of this program. The default mode is
56 to print a line with checksum, a space, a character indicating input
57 mode ('*' for binary, ' ' for text or where binary is insignificant),
58 and name for each FILE.
59
61 Do not use the SHA-1 algorithm for security related purposes. Instead,
62 use an SHA-2 algorithm, implemented in the programs sha224sum(1),
63 sha256sum(1), sha384sum(1), sha512sum(1), or the BLAKE2 algorithm,
64 implemented in b2sum(1)
65
67 Written by Ulrich Drepper, Scott Miller, and David Madore.
68
70 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
71 Report sha1sum translation bugs to <https://translationpro‐
72 ject.org/team/>
73
75 Copyright © 2018 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 Full documentation at: <https://www.gnu.org/software/coreutils/sha1sum>
82 or available locally via: info '(coreutils) sha1sum invocation'
83
84
85
86GNU coreutils 8.30 July 2018 SHA1SUM(1)