Md5sum: Difference between revisions
From Leo's Notes
This page was last edited on 1 September 2019, at 06:21.
m Text replacement - "Category:Linux" to "Category:Linux{{Navbox Linux}}" |
m Text replacement - "Category:Linux{{Navbox Linux}}" to "{{Navbox Linux}}Category:Linux" |
||
| Line 19: | Line 19: | ||
[[Category:FreeBSD]] | [[Category:FreeBSD]] | ||
[[Category:Linux]] | {{Navbox Linux}}[[Category:Linux]] | ||
Revision as of 06:21, 1 September 2019
Installation
FreeBSD
FreeBSD does have a md5sum utility, but it's named gmd5sum. Hint: the 'g' is for GNU. Build it from ports.
Linux
The GNU md5sum utility should be installed as it is part of coreutils.
Usage
To md5sum files recursively, run:
find ./target -type f -exec md5sum {} \;>> /checksum.md5
To verify files from a checksum file, run:
md5sum -c /checksum.md5