HOw to use md5sum

It creates a 128 bit checksum which is unique. So if two files are not identical they won’t have the same md5 checksum. You can use it to check if the file which you have download has not been manipulated or is corrupted.

Output of one file:
# md5sum sample.txt
d41d8cd98f00b204e9800998ecf8427e  sample.txt

Output of multiple files:
# md5sum *.txt
5aa6788f9355e26bd8aef7303dda97fe  sample2.txt
d41d8cd98f00b204e9800998ecf8427e  sample.txt

You can create your own md5 file and verify it afterwards:
# md5sum sample.txt > verify.md5
# md5sum –c verify.md5

admin on June 29th 2012 in IT, Linux

No Comments »

Comments RSS

Leave a Reply

*




Check out new movies online website. Download and buy movies now.
1