Prerequisite: The md5sum's application is installed in your system.
1) To calculate the md5sum on a file and place this result in another file with the extension .md5
The command is : md5sum FileName > FileName.md5
2) To validate a md5sum's file. Note that the original file and the generated md5sum file are in the same directory for this demonstration.
The command is : md5sum -c FileName.md5
Tuesday, March 31, 2009
Subscribe to:
Posts (Atom)