Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-10-2006, 07:38 PM   #1
Registered: Aug 2005
Distribution: Debian 7
Posts: 526

Rep: Reputation: 31
How to generate a list of MD5 checksums?

I often find files on the internet containing MD5sums, such as ubuntu.md5, presented below:
df03811bfc9f2a73672887a36d531965  ubuntu-6.06-alternate-amd64.iso
b2e9120f06d70cc076c1852c6c04654e  ubuntu-6.06-alternate-i386.iso
12bd53a48d7afbcfb0eae6794a1ac02f  ubuntu-6.06-alternate-powerpc.iso
722b8b4a75f977a76a722d4a2b071b19  ubuntu-6.06-desktop-amd64.iso
e2e5e0bfb2edffd2ce02dd77bda4558e  ubuntu-6.06-desktop-i386.iso
410d766d75a3afaa7f04c0c7dbdfd8da  ubuntu-6.06-desktop-powerpc.iso
02772b8b3461c246a2154aa6e699335b  ubuntu-6.06-server-amd64.iso
4c7c835d244453b9a29d397e5cd973fd  ubuntu-6.06-server-i386.iso
c1f9c3dc78572bc2ce76d44776949fcc  ubuntu-6.06-server-powerpc.iso
Using the command `md5sum -c ubuntu.md5` it is possible to compare the checksums of those files against this list to varify the integrity of the files.

I am burning some backup disks and would like to include a file containing the MD5 checksums to easily check against the files. Is there a program that can generate these lists?
Old 06-10-2006, 09:47 PM   #2
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
cd to the directory with the files and
for i in *; do md5sum $i >> md5sums.md5; done

Last edited by Snowbat; 06-10-2006 at 09:52 PM.
Old 06-10-2006, 09:59 PM   #3
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
md5sum * > md5sums.txt


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way to use MD5 checksums in Windows? Zakalidas Linux - Newbie 2 07-05-2004 10:12 PM
RKHUNTER: Bad MD5 Checksums Scarpa Linux - Security 2 06-18-2004 05:56 AM
Error in MD5 checksums: ryedunn Linux - Newbie 2 04-20-2004 08:14 PM
checksums.md5 whitefox Slackware 2 04-18-2003 01:53 PM
MD5 Checksums for ISOs in Windows? TruckStuff Linux - General 5 05-17-2002 03:20 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration