1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 09:17:57 +01:00

Merge pull request #327 from igorshubovych/md5

md5: split basic example for simplicity, add example of md5 checksum for given string
This commit is contained in:
Igor Shubovych 2015-12-01 02:10:28 +02:00
commit cddacee9d1

View file

@ -2,12 +2,19 @@
> Calculate MD5 cryptographic checksums
- Calculate the MD5 checksum for file(s) or files in a directory, one checksum per file
- Print MD5 checksum for a file
`md5 {{filename}}`
- Print MD5 checksum for each file in a list or directory
`md5 {{filename1}}`
`md5 {{filename1}} {{filename2}}`
`md5 {{directory/\*}}`
- Output only the md5 checksum (no filename)
`md5 -q {{filename}}`
- Print a checksum of the given string
`md5 -s {{string}}`