1SHA256SUM(1) User Commands SHA256SUM(1)
2
3
4
6 sha256sum - compute and check SHA256 message digest
7
9 sha256sum [OPTION]... [FILE]...
10
12 Print or check SHA256 (256-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-2. 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 Written by Ulrich Drepper, Scott Miller, and David Madore.
63
65 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
66 Report any translation bugs to <https://translationproject.org/team/>
67
69 Copyright © 2022 Free Software Foundation, Inc. License GPLv3+: GNU
70 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
71 This is free software: you are free to change and redistribute it.
72 There is NO WARRANTY, to the extent permitted by law.
73
75 cksum(1)
76
77 Full documentation <https://www.gnu.org/software/coreutils/sha256sum>
78 or available locally via: info '(coreutils) sha2 utilities'
79
80
81
82GNU coreutils 9.1 May 2023 SHA256SUM(1)