Normally md5sum generates checksums of all files given to it as a parameter and prints the checksums followed by the filenames. If, however, -c is specified, only one filename parameter is allowed. This file should contain checksums and filenames to which these checksums refer to, and the files listed in that file are checked against the checksums listed there. See option -c for more information.
<MD5 checksum> <filename>
So, for example, if a file was created and its message digest calculated like so:
echo foo > md5-test-file; md5sum md5-test-file
md5sum would report:
d3b07384d113edec49eaa6238ad5ff00 md5-test-file
This manpage is not quite accurate and has formatting inconsistent with other manpages.
md5sum does not accept standard options like --help.
md5sum was originally written by Branko Lankester, and modified afterwards by Colin Plumb and Ian Jackson (ijackson@gnu.ai.mit.edu). Manual page was added by Juho Vuori (javuori@cc.helsinki.fi)