1MD5SUM(1) User Commands MD5SUM(1)
2
3
4
6 md5sum - compute and check MD5 message digest
7
9 md5sum [OPTION]... [FILE]...
10
12 Print or check MD5 (128-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 MD5 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 -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 RFC 1321. When checking, the in‐
53 put should be a former output of this program. The default mode is to
54 print a line with checksum, a space, a character indicating input mode
55 ('*' for binary, ' ' for text or where binary is insignificant), and
56 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 MD5 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 © 2020 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 <https://www.gnu.org/software/coreutils/md5sum>
82 or available locally via: info '(coreutils) md5sum invocation'
83
84
85
86GNU coreutils 8.32 June 2021 MD5SUM(1)