Linux - SoftwareThis 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.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: KDE Neon User edition; Manjaro; OpenSUSE Leap
Posts: 298
Rep:
Auto MD5 check program
I don't know if there's already a way to do this but I've written a tiny python program to check md5sums. If people like it I'll probably expand it to sha1 as well.
Distribution: KDE Neon User edition; Manjaro; OpenSUSE Leap
Posts: 298
Original Poster
Rep:
Anybody got anything to say about this? If somebody thinks it's worth hosting I could make a binary for people who don't have python. Oh yeah if any noobs don't know how to run it here goes.
1. Open a text editor and copy the code into it.
2. Save it
3. Now either set it to run as an executable or go into a shell and type
"python /where/you/put/it"
4. Enter the filename with the directory if the file you want to check is not in the same directory. Press enter.
5. Enter the MD5 sum without the " program" bit. eg. "8d727ffc6ed3dd329ddbf787384f8a25". Press enter.
6. If they match you'll get "Sums OK" if they don't "Sums are not the same!" will be displayed.
Distribution: KDE Neon User edition; Manjaro; OpenSUSE Leap
Posts: 298
Original Poster
Rep:
None of you 43 people have anything to say about this! No better way to do it, or existing way to do it. Or whether it worked! Anything? Has anybody even tried it?
Originally posted by APB_4 Oh yeah delete everything great idea qtbb! Nob!
I think he was pointing out your script is unsafe in it's present form. If you want others to use it you should add some checking to make sure, for example, the MD5 sum entered is in fact just an alphanumeric string.
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506
Rep:
Debian comes with "debsums"....works quite thoroughly.
Thanx for the lil script though....good backup.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.