page

Jan 2, 2018

How to do MD5 checksum

http://linux.byexamples.com/archives/198/md5-checksum-how-to/

md5 is used to verify data integrity, the correctness of files you downloaded.

[admin@localhost]$ md5sum your_file


check multiple file

1) create md5sum.txt file

1st column : md5 string     2nd column : location of the file.

[admin@localhost]$ more md5sum.txt
9e9ccb13b31defc2b5207646d9ba07b5 Ibd11-1_1.fastq.gz
df040df4307bc24f54a69c9774d5a72f Ibd11-1_2.fastq.gz
a3fa0b9a3d9b2d843319b7ea3374318b Ibd11-2_1.fastq.gz
be29dcc8407a09ab1f0316727c1651bf Ibd11-2_2.fastq.gz
8e6f2cbaaf124be4b96b0e03e4ffa680 Ibd11-3_1.fastq.gz
8586451a651c37d4b6b9d72998f581e6 Ibd11-3_2.fastq.gz



[admin@localhost]$ md5sum -c md5sum.txt
Ibd11-1_1.fastq.gz: OK
Ibd11-1_2.fastq.gz: OK
Ibd11-2_1.fastq.gz: OK
Ibd11-2_2.fastq.gz: OK
Ibd11-3_1.fastq.gz: OK
Ibd11-3_2.fastq.gz: OK