summaryrefslogtreecommitdiffstats
path: root/man/md5sum.1
blob: 57a23e25d8529be2d9b0b3b565c570b64208b0ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.48.5.
.TH MD5SUM "1" "August 2023" "GNU coreutils 9.4" "User Commands"
.SH NAME
md5sum \- compute and check MD5 message digest
.SH SYNOPSIS
.B md5sum
[\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]...
.SH DESCRIPTION
.\" Add any additional description here
.PP
Print or check MD5 (128\-bit) checksums.
.PP
With no FILE, or when FILE is \-, read standard input.
.TP
\fB\-b\fR, \fB\-\-binary\fR
read in binary mode
.TP
\fB\-c\fR, \fB\-\-check\fR
read checksums from the FILEs and check them
.TP
\fB\-\-tag\fR
create a BSD\-style checksum
.TP
\fB\-t\fR, \fB\-\-text\fR
read in text mode (default)
.TP
\fB\-z\fR, \fB\-\-zero\fR
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
\fB\-\-ignore\-missing\fR
don't fail or report status for missing files
.TP
\fB\-\-quiet\fR
don't print OK for each successfully verified file
.TP
\fB\-\-status\fR
don't output anything, status code shows success
.TP
\fB\-\-strict\fR
exit non\-zero for improperly formatted checksum lines
.TP
\fB\-w\fR, \fB\-\-warn\fR
warn about improperly formatted checksum lines
.TP
\fB\-\-help\fR
display this help and exit
.TP
\fB\-\-version\fR
output version information and exit
.PP
The sums are computed as described in RFC 1321.
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
Note: 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 algorithm, implemented in the programs
\fBsha224sum\fP(1), \fBsha256sum\fP(1), \fBsha384sum\fP(1), \fBsha512sum\fP(1),
or the BLAKE2 algorithm, implemented in \fBb2sum\fP(1)
.SH AUTHOR
Written by Ulrich Drepper, Scott Miller, and David Madore.
.SH "REPORTING BUGS"
GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
.br
Report any translation bugs to <https://translationproject.org/team/>
.SH COPYRIGHT
Copyright \(co 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
.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 <https://www.gnu.org/software/coreutils/md5sum>
.br
or available locally via: info \(aq(coreutils) md5sum invocation\(aq