LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Verify a Downloaded File

Posted 02-10-2016 at 05:29 PM by tpalmerstudios (PalmerStudios)

Whenever I download something, I like to be very sure on the authenticity of the file. The only way to do this easily is by using a cryptographic hash. There are two main types. First is MD5, and the second is SHA1.
Requirements:
1. A computer.
2. 10 minutes to learn (the actual process is only 1 minute long.)
3. Internet connection
How to do it: (On Windows)
1. Download the file needing to be verified. (I am using a Linux ISO. This file can be anything,...
LQ Newbie
Posted in Uncategorized
Views 1250 Comments 0 tpalmerstudios is offline
Old

Recursively generate MD5 checksums

Posted 10-26-2011 at 10:53 AM by Garda
Tags find, md5, md5sum, xargs

I wanted to generate MD5 checksums of a whole bunch of files in a directory. It turns out that this is not as straightforward as it should be. IMO it should be completed with: md5sum -br *

Unfortunately it was not as straightforward. I found this blog entry after searching for a while and adapted this to what I needed. To generate checksums, I used the following:

Code:
find . -type f -print0 | xargs -0 md5sum -b
(Note: for the above to work, "cd"...
Member
Posted in Uncategorized
Views 4507 Comments 0 Garda is offline

  



All times are GMT -5. The time now is 02:06 AM.

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