2 examples for md5sum
#Get the md5sum for a file
md5sum file.txt
#Get the md5sum for a text string
echo "mystring" | md5sum
# Get the md5sum for all files under the current working directory and save them in a file md5sums.txt.
md5sum * > md5sums.txt