I understand what is supposed to happen with the md5sum... but where do i find the actual executable program 'md5sum' ?
Try to start searching here: http://www.gnu.org/software/textutils/textutils.html