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