md5sum is a program that calculates the MD5 message digest for one or more files

learn more… | top users | synonyms

2
votes
1answer
37 views

md5sum command binary and text mode

The GNU md5sum command has two modes: binary mode and text mode. I guess the difference is only on how newline characters are handled? Am I right? On GNU/Linux, the two modes always produce same ...
0
votes
0answers
26 views

Hit “sasl_decode error=-1” while sending mail via sendmail server on RHEL

Having installed sendmail and openwebmail on RHEL workstation 6.3, I can send email through webmail(cgi-bin/openwebmail/openwebmail.pl), but failed to interact with sendmail server in Perl script as ...
19
votes
3answers
1k views

Find a file when you know its checksum?

I have the md5sum of a file and I don't know where it is on my system. Is there any easy option of find to identify a file based on its md5? Or do I need to develop a small script ? I'm working on ...
0
votes
1answer
107 views

different checksum of original file and copied file

I am running a script that copy a file from one location to other. In script I am calculating MD5sum using below command of original file and copied file and they are different: echo -n "file" | ...
0
votes
1answer
295 views

md5 or sha1 while copying a file

Is there a way in any linux distro to perform a md5sum or sha1 check while the file is being transferred from a local partition to an NFS one? Example: I have a NFS mounted drive and a very big file ...
5
votes
1answer
207 views

Using kernel cryptographic functions

Is it possible to use kernel cryptographic functions in the userspace? Let's say, I don't have md5sum binary installed on my system, but my kernel has md5sum support. Can I use the kernel function ...
1
vote
1answer
82 views

How to compute a thumbnail filename from the shell?

I started noticing some time ago in Xfce4 that when I sent some file to the Trash, tumbler (the Xfce4 thumbnailer) would cause very high I/O load for quite some time. Upon investigating the issue, I ...
0
votes
2answers
81 views

md5sum check fails for git-man-pages.tar.gz package

When I try to verify the integrity of git-man-pages package I downloaded from "http://code.google.com/p/git-core/downloads/detail?name=git-manpages-1.8.4.tar.gz&can=2&q=" it fails with error. ...
1
vote
2answers
493 views

A simpler way of comparing md5 checksum?

After downloading a file that has a md5 checksum available I currently check it with md5 *file* | grep *given_checksum* e.g. md5 file.zip | grep -i B4460802B5853B7BB257FBF071EE4AE2 but it seemed ...
0
votes
1answer
131 views

How to identify error in a particular file while checksum verification (which file having problem while verification) in shell script

I have two files on ftp location in csv.gz format and their checksum is in .csv.gz.md5 format. I am copying this file in my local system. I am generating check sum for it through md5sum. Now I am ...
0
votes
1answer
170 views

How to generate 4 WEP keys with linux commands?

I have a sagem router. this router is able to generate 4 WEP keys from a given passphrase. Example: Passphrase: "hahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahaha" key1: ...
0
votes
1answer
85 views

md5 String and File different

Why do I become a different hash when I try: md5 <<< "Hello" md5 -s "Hello" Is it because of a possible line break in the first example?
2
votes
0answers
77 views

Compare two cdroms

I would like to verified if two CD-ROMs (UDF) identical or not. One cdrom will be read at Windows and the other CD-ROM at Linux, where the CD-ROMs can be with different burning programs. This means ...
3
votes
1answer
96 views

md5sum change after mount?

I have a ext3 filesystem on a .img file. After mounting and unmounting it, I noticed that the md5sum is changed, even if no file inside was changed! md5sum myfilesystem.img XXXX myfilesystem.img ...
2
votes
3answers
639 views

is it possible to create a file given an md5 hash

I know this is a strange question, and I know that md5sum is nearly impossible to break... but I'm just wondering if someone here knows if it is possible to recreate a file given it's md5sum hash? I ...
2
votes
1answer
299 views

Trailing space when generating md5

I apologize if this has already been answered, or if the answer is simpler than I realize, but I can't seem to figure out the following: When I try to generate an md5 from a string, either with echo ...
2
votes
3answers
152 views

Sanity checking MD5 sums

Do MD5 checksums contain a checkbit? I have to copy some MD5 checksums by hand (there's no other way) and was wondering whether there is any code out there that can validate a checksum as being valid ...
1
vote
1answer
2k views

How to create a md5-file for every folder in a drive recursivley?

I'm searching for a script which creates a md5 chechsum file for every single folder inside drive recursivley? I do have a copy of md5deep on my machine but I'm not that good in scripting bash.
23
votes
8answers
15k views

How do I get the MD5 sum of a directory's contents as one sum?

The md5sum program does not provide checksums for directories. I want to get a single MD5 checksum for the entire contents of a directory, including files in sub-directories. That is, one combined ...
2
votes
3answers
183 views

How do I easily update list of md5sums?

Sometimes I use an unreliable medium (flash) to store a good deal of data. To at least recognise bit flips I store a file with the md5sums alongside. This file is usually created by a variation of ...
0
votes
3answers
8k views

How do I redirect command output to a file?

I have a command that I run in a folder that outputs MD5 hashes and filenames on the terminal: ls |sort -nr | xargs md5sum I need this output in a text file that I can download and compare to ...
12
votes
2answers
1k views

Why does the gzip version of files produce a different md5 checksum

I have four files that I created using an svndump test.svn test2.svn test.svn.gz test2.svn.gz now when i run this md5sum test2.svn test.svn test.svn.gz test2.svn.gz Here is the output ...