2014-02-10 23:44:02 +00:00
|
|
|
# md5
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> Calculate MD5 cryptographic checksums.
|
2014-02-10 23:44:02 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Print MD5 checksum for a file:
|
2014-02-10 23:44:02 +00:00
|
|
|
|
2015-11-22 20:48:31 +00:00
|
|
|
`md5 {{filename}}`
|
2015-11-22 16:50:49 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Print MD5 checksum for each file in a list or directory:
|
2015-11-22 16:50:49 +00:00
|
|
|
|
2014-02-10 23:44:02 +00:00
|
|
|
`md5 {{filename1}} {{filename2}}`
|
|
|
|
`md5 {{directory/\*}}`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Output only the md5 checksum (no filename):
|
2014-02-10 23:44:02 +00:00
|
|
|
|
|
|
|
`md5 -q {{filename}}`
|
2015-11-22 16:50:49 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Print a checksum of the given string:
|
2015-11-22 16:50:49 +00:00
|
|
|
|
|
|
|
`md5 -s {{string}}`
|