Questions tagged [md5sum]

md5sum is a command line program used to calculate MD5 hashes of files, and provides a simple way to check the integrity of a download.

Filter by
Sorted by
Tagged with
269 votes
9 answers
657k views

How to get the MD5 hash of a string directly in the terminal?

How do I get the MD5 hash of a string directly from the terminal? For example, I want the string abcdefg hashed. Currently the md5sum command only accepts a filename as input. I want to simply enter ...
2hamed's user avatar
  • 3,293
41 votes
3 answers
70k views

How to automate comparison of md5sum hash values for a large number of files

I can check md5sum hash of a file from a terminal as, $ md5sum my_sensitive_file 8dad53cfc973c59864b8318263737462 my_sensitive_file But the difficult part is to compare the hash value with exact one....
sourav c.'s user avatar
  • 44.7k
34 votes
2 answers
88k views

How can I recursively list Md5sum of all the files in a directory and its subdirectories? [duplicate]

I want to list (and save) Md5 check sum of all the files in a directory and save that list in a text file called md5sum.txt it would be also nice if I could Integrate it within tree command (which ...
Sumeet Deshmukh's user avatar
33 votes
5 answers
23k views

How can I check the integrity of a downloaded Ubuntu CD?

I've just downloaded a CD image of Ubuntu. I know the installer has a check CD option, but how can I check that the image is good before burning it to CD?
Jorge Castro's user avatar
  • 71.7k
29 votes
2 answers
14k views

How to check the progress of md5sum on many huge files?

I have some 500 files of 650MB each, named bigfile.000 to bigfile.199 and I need to calculate the MD5 checksum of all files combined. The command I am using is: cat bigfile.* | md5sum I have the ...
Kenneth L's user avatar
  • 897
20 votes
7 answers
22k views

“Hash sum mismatch” error due to identical SHA1 and MD5 but different SHA256

When running apt full-upgrade or apt update I'm getting several logs that are more or less the same as this one, where there is an identical filesize, SHA1 and MD5 but different SHA256: E: Failed to ...
RyanQuey's user avatar
  • 313
15 votes
4 answers
6k views

MD5 mismatch on my 12.04 ISO, what is going on?

I downloaded ubuntu-12.04-desktop-amd64.iso from http://releases.ubuntu.com/precise/ This page also has a link to file showing the respective MD5 hashes for each file The page shows ...
oct's user avatar
  • 151
15 votes
4 answers
20k views

What are the differences between "md5sum" and "sha256sum"?

Why we need two tools for verifying ISO . is there any specific things to consider between them ?
Raja G's user avatar
  • 102k
14 votes
2 answers
9k views

How to identify and replace broken files in a corrupted Ubuntu ISO?

So, this isn't exactly an issue running Ubuntu, but rather with installing it. Every time I try to download the Ubuntu ISO (from any source) it seems to end up corrupt. That is, the MD5 sums are ...
Hailwood's user avatar
  • 4,957
14 votes
3 answers
4k views

Are ubuntu packages (deb-files) only md5sum secured?

Introductory Background to the question below (so the question is more usable to more people) Inside of an Ubuntu/debian-style package (*.deb file) there is a file named /DEBIAN/md5sums which has a ...
humanityANDpeace's user avatar
14 votes
1 answer
39k views

Check hash (MD4, MD5, SHA-1, and CRC) on Ubuntu 12.04 and 12.10 [duplicate]

I have a lot of iso-files downloaded from internet. I want to check the hash from my Ubuntu 12.04 and 12.10. Is there any application on Ubuntu to check the MD4, MD5, SHA-1, and CRC hash? I need the ...
lambda23's user avatar
  • 3,232
14 votes
3 answers
9k views

Generate SHA, MD5 and other checksums from properties menu (added "Digests" tab)

I am trying to restore a function that I had on my last box. It added a tab in the properties menu of any file called "Digests". From there I could choose any/all of the hash formats, click hash and ...
user avatar
12 votes
1 answer
6k views

How can I disable checksum feature in brasero?

Is there any option in brasero to disable the checksum feature in brasero? It slows down the burning.
kv1dr's user avatar
  • 1,381
11 votes
6 answers
29k views

Can two different firmware files have same md5 sum?

Can two different binary files have the same md5 sum? One binary firmware file have different version number and marked as revised, small bug fixed. But both files have same md5 sum, I would assume ...
minto's user avatar
  • 831
10 votes
4 answers
18k views

Dump md5 and sha1 checksums with a single command!

I am looking for command or utilities for calculating md5,sha1 hash value by one command. Right now ubuntu has sha1sum and md5sum command for calculating hash value.
M S Parmar's user avatar
9 votes
2 answers
9k views

Why does integrity check fail for the 12.04.1 Alternate ISO?

I have followed various recommendations from the Ubuntu Documentation to create a bootable Ubuntu USB flash drive using the 12.04.1 Alternate install ISO-file for 64-bit PC. But the integrity test of ...
mghg's user avatar
  • 1,047
9 votes
1 answer
789 views

Nautlius: add mouse right-click action to compute MD5 sum [duplicate]

Context: 16.04 How does one mouse right-click action to compute the MD5 sum of a file?
gatorback's user avatar
  • 5,765
7 votes
3 answers
32k views

How to change MD5 of a file

We can get MD5 of a file by using md5sum so my questions are: Could the MD5 be changed? How to change the MD5?
Rong Nguyen's user avatar
7 votes
2 answers
8k views

dpkg -V , What does the output mean?

I ran DPKG Verify on all packges and got this output and I don't know what it means : ??5?????? c /etc/lightdm/lightdm-gtk-greeter.conf ??5?????? c /etc/default/chromium-browser ??5?????? /usr/...
userDepth's user avatar
  • 2,010
7 votes
5 answers
19k views

Bash get MD5 of online file

I need to get the MD5 hash of an online file, and then compare it to a file on the local machine. How can I do this in bash?
Finlay Roelofs's user avatar
6 votes
2 answers
11k views

How do I compare two files containing several md5 checksums to determine changed files?

I have two files MD1 and MD2. MD1 contains md5sums: 5f31caf675f2542a971582442a6625f6 /root/md5filescreator/hash1.txt 4efe4ba4ba9fd45a29a57893906dcd30 /root/md5filescreator/hash2.txt ...
swapedoc's user avatar
  • 171
6 votes
3 answers
24k views

Returning the MD5-hash of all files in a directory to a .txt file with file name [duplicate]

I have a directory of pictures. I need the MD5-hash of each file in that directory and the name of the file placed into a .txt document. This file is to be read at a later time to reference the MD5 ...
Grayson Moseley's user avatar
5 votes
1 answer
15k views

How to check the md5sum and sha256sum of a directory (an entire folder)? [duplicate]

In the terminal it's easy to find the md5sum of a single file, but how about for an entire directory? And would the same apply to sha256sum?
J. Doe's user avatar
  • 93
4 votes
2 answers
731 views

Verifying Ubuntu ISO with `md5sum` - does the missing "*" matter?

I'm trying to understand security and verification a bit more so I've been playing with getting random ISOs and verifying them with md5sum. For instance if I download the Ubuntu GNOME 15.10 release ...
Huw's user avatar
  • 1,603
4 votes
0 answers
2k views

Where are the instructions for checking md5 checksums? [duplicate]

Possible Duplicate: How can I check the integrity of a downloaded Ubuntu CD? Where do I find instructions for making sure the Ubuntu ISO I download is correct?
Jeff's user avatar
  • 41
4 votes
0 answers
229 views

Where can I get the hash for 12.04 ISO? [duplicate]

Possible Duplicate: Where to find the md5sums of Ubuntu ISO images? I've downloaded the 12.04 LTS ISO file but I can't locate the hash file anywhere.
Graham Innes's user avatar
3 votes
1 answer
17k views

Bashscript making a variable equal a command. error command not found

Hi i keep getting the error ./imagehash.sh: line 2: =: command not found When i know that i set the $CMD variable correctly (i tried the command outside the bash script and it worked just fine) ...
octo-carrot's user avatar
3 votes
2 answers
4k views

Generate a separate .md5 file for each .fastq file in a directory?

I am trying to generate separate .md5 files for each .fastq file in a directory. I found solutions to generate a single .md5 file for many files, but this is not what I am looking for. I have file1....
Chris_bio's user avatar
3 votes
3 answers
5k views

MD5 checksum cross-platform compatibility

I was just checking a md5 checksum to see if a file has downloaded correctly or not. situation is like this. I have downloaded a Linux iso file in Windows and checked the md5 with the Microsoft 'File ...
ulkaNCST's user avatar
  • 749
3 votes
2 answers
5k views

MD5 checksum not matching

I just downloaded ubuntu-14.04.1-desktop-amd64.iso from the official website and ran a MD5 checksum d2b966f36e76486ff4c83fb085557f97 which doesn't match any of the MD5 checksums listed at http://...
Sumit's user avatar
  • 135
3 votes
4 answers
4k views

Why does my burned Ubuntu DVD have a different hash/checksum than the iso?

I downloaded the 10.04.4-dvd-amd64.iso file, then burned it to a DVD. I then tried installing it but it hangs at 95%. I then checked the hash with md5sum and they are not the same. The ISO is the same ...
Alex's user avatar
  • 2,099
3 votes
2 answers
1k views

Is there an alternative for the Windows software "hashcheck" in Ubuntu?

hashcheck checks for matches of many common hash codes. (See http://code.kliu.org/hashcheck/) Is there an alternative for this software for Windows on Ubuntu?
Unknown's user avatar
  • 333
3 votes
2 answers
5k views

How do I calculate md5sum for a variable? [duplicate]

Possible Duplicate: How to get the MD5 hash of a string directly in the terminal? I have a given variable and I have to calculate its md5sum. I have tried with "md5sum $variable", but it doesn't ...
johnny's user avatar
  • 451
2 votes
2 answers
8k views

How do I install a program using a .md5 file?

This is a very basic question that probably has a very easy answer. I am a frequent customer at humblebundle.com and some of the games come in a format called ".md5". I understand it is a format that ...
Jan's user avatar
  • 23
2 votes
3 answers
885 views

Should I be worried? md5

I installed Ubuntu 12.04 a few weeks ago, from a download off of the website. I still have the dvd used. I was talking to my friend today about it and he mentioned something about checking the hash to ...
Bryan's user avatar
  • 237
2 votes
1 answer
7k views

Why does a .sh file's md5sum change when copying to another folder?

I have downloaded a sh file from a webpage. I want to copy it to another machine so I can install it there. The other machine is an imx6 tiny rex. I tried to copy/move/scp to my Ubuntu machine to the ...
Biribu's user avatar
  • 121
2 votes
1 answer
192 views

Checksum a group of folders to another group of folders using md5sum

I copied three folders from three different directories. I want to check the copies over the originals with checksum. Is this possible in the command line?
peteubuntu's user avatar
2 votes
3 answers
271 views

Alternate CD image downloaded last year gives different hash

I had downloaded the alternate CD images through torrents some time last year, and now that I need it again I decided to check it's md5 hash. $ md5sum ubuntu-11.10-alternate-i386.iso ...
Oxwivi's user avatar
  • 17.8k
2 votes
1 answer
425 views

How can I move files from one place to other with validation/md5 done to origin and destination?

How can I move files from one place to other with validation/md5 done to origin and destination? Is there some tool or sequence of commands you can script to do this?
Luis Lobo Borobia's user avatar
2 votes
1 answer
98 views

Are my md5 keys actually different? Do I have to redownload Ubuntu?

I have downloaded the ubuntu-14.04.3-desktop-amd64 Ubuntu version, I just did the md5sum check from the Windiws command prompt and had 414f5d28b2ac85d0e7aaf969f9bd0cb5 as a return. As far as the md5 ...
Revolucion for Monica's user avatar
2 votes
2 answers
1k views

sha256sum/md5sum gives different results for big files (Ext4/Full disk Encryption)

Yesterday I reinstalled Ubuntu 13.04 64-bit on my computer (4GB RAM), and for the first time I decided to use Full Disk Encryption (all default settings). Today while running backups my computer ...
Christian H.'s user avatar
2 votes
2 answers
2k views

Enabling TCP MD5 signatures in 12.04?

After running a NeXpose scan of one of my servers, I'm getting notice that TCP MD5 signatures may not be enabled. I've looked all over the net and from what I can see this feature should be enabled ...
John S's user avatar
  • 123
2 votes
0 answers
266 views

Should I be worried about "md5sums differ" message during apparmor upgrade?

When I upgraded apparmor yesterday this was the output: Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following ...
user avatar
1 vote
3 answers
764 views

Check several files with MD5

Every month, a company sends me a hard drive - ext4 encrypted with cryptsetup - with backup files from a server. In that drive there are 1000+ files, and they almost fill up a 2Tb HDD. Each file has ...
Sopa Pilon's user avatar
1 vote
1 answer
442 views

Check burned Ubuntu CD

My OS is Ubuntu 10.10. I have burned Ubuntu 11.04 into a CD. Now I tried to check the CD following https://help.ubuntu.com/community/HowToMD5SUM#Check%20the%20CD, as following: $ ls -l -rwxrwx--- 1 ...
Tim's user avatar
  • 25.2k
1 vote
1 answer
4k views

How to find a file from the hash?

How do I find the file from given Hash value in Linux? Please note that I don't want to find the hash value of a file, I need the opposite of that.
Sharaf Alzahrani's user avatar
1 vote
2 answers
2k views

Concatenating md5 string

I have a little script file called testing.sh where I am asking user to enter his login and password. Then, the password is getting encrypted with md5sum command and the result is stored in a file ...
Evgeny's user avatar
  • 13
1 vote
1 answer
728 views

Unable to verify 20.04.03 download

I am trying to follow this guide here: https://ubuntu.com/tutorials/how-to-verify-ubuntu#1-overview I have downloaded the ISO file and I have the following files in my Downloads directory: SHA256SUMS ...
Scooby-2's user avatar
  • 508
1 vote
2 answers
6k views

How to check md5 for folder with files?

I want to compare local folder and folder on server, folder can contain subfolders and subfolders can contain files. How to compute md5sum for whole folder? Update: One possible solution will not ...
mrgloom's user avatar
  • 880
1 vote
2 answers
488 views

Check for redundancy before downloading any file

Is there a way you can check whether you have already downloaded a file previously or not before actually downloading it. I know - wget can do that, only if the filename of the file trying to be ...
HungryFoolish's user avatar