General :: How To Checksum A Directory
Apr 23, 2010
How can I checksum a directory?
Using both cksum and md5sum yields the same error
Code:
root@linux# cksum /bin
cksum: /bin: Is a directory
root@linux# md5sum /bin
md5sum: /bin: Is a directory
[Code].....
View 3 Replies
ADVERTISEMENT
Jan 3, 2010
This is the first time I have made my own install disks, instead of buying a boxed set. Edmunds Enterprises apparently doesn't sell them anymore. The checksum values are listed on the download site, but how do I compare them with my downloads? My ext3 partition is formatted (blank) awaiting installation, so I will have to do this in Windows, and I don't know how.
View 8 Replies
View Related
Jul 16, 2010
send me the code to find the md5 checksum of a file in c++.
View 7 Replies
View Related
Jul 6, 2011
I have been trying to download the CentOS 5.5 DVDs. I have tried the ftp mirror and the http mirror and do not come up with the same checksum as is displayed. I am getting the following. I get the following sums:
ac177a5476e3b255b89b659e5b10ba03 *CentOS-5.5-x86_64-bin-DVD-1of2.iso
083746ba5c809df09582fa973c93c594 *CentOS-5.5-x86_64-bin-DVD-2of2.iso
View 4 Replies
View Related
Oct 1, 2010
Using Ubuntu 10.04 on an old HP DV4000 laptop. Trying to do a backup from my laptop's disk to an external USB drive using DD while booted from an Ubuntu boot disk. The laptop's hard drive is not mounted. I was also using a checksum to verify the backup against the hard drive like so:
Code:
$ dd if=/dev/sda of=/media/usbdrive/whatever.img
$ md5sum /dev/sda > laptop.md5
$ md5sum /media/usbdrive/whatever.img > img.md5
Unfortunately over two separate attempts I have not got the checksums to match. However, I have mounted the dd image and retrieved part of the backup from the image, with no apparent corruption. Are there any reasons other than data corruption that could be causing this? I have not tried to restore from said image to see if it "works" (for obvious reasons).
View 2 Replies
View Related
Sep 8, 2010
I've got a few video files that came with md5's. I want to check them but I don't know how.
View 6 Replies
View Related
Jul 11, 2011
I'm running 2.6.32-28-generic. I have a raid1 (two 1tb drives with two partitions... one for / and one for /home.) After a power outage, I'm seeing grub complaining about /dev/md0 not existing (ALERT! /dev/md0 does not exist. Dropping to a shell!)
I booted to the latest live CD to have a look around. My dmesg output includes these ominous lines:
Code:
Here is the whole dmesg output: [url]
View 2 Replies
View Related
Jul 22, 2011
I have a large tarball which is bz2 compressed, and I would like to get a md5 sum of the files contained in it, as I have a separate directory on another server containing what I think are the same files. I want to check to see if the tarballs files are the same as the uncompressed files on the remote server. The files are big 10gb+ so I was wondering if there was a quick way without having to uncompress them all and then md5 them.
View 4 Replies
View Related
Oct 5, 2010
As everyone know, the checksum of PEC in Sbus is CRC-8, but in my project, the checksum way is zero-checksum, the SMBus read transaction as below.
View 2 Replies
View Related
Apr 9, 2009
I use wireshark (ethereal) to moniter the traffic passing through the NIC. I find that system always sends "bad checksum" TCP/UDP packets. In CentOS 5.2 this is seldom. Does your system (5.3) send "bad checksum" TCP/UDP packet ?
View 2 Replies
View Related
Aug 5, 2009
I get the following error on 'yum update'. I have tried 'yum clean all' and also:
rm -f /var/lib/rpm/__db*
rpm --rebuilddb
# yum update
Loaded plugins: fastestmirror, protectbase
Determining fastest mirrors
* base: mirror.sov.uk.goscomb.net
* updates: mirror.sov.uk.goscomb.net
[Code]....
View 2 Replies
View Related
Jun 16, 2010
I am a student studying computer science course.
Well, I am facing problem when doing lab questions.
I must use DLXLinux bundled in Bochs (bochs.sourceforge.net).
I am required to use the /usr/local directory.
In /usr directory, there is no directory named 'local' but there is one thing called 'local@'. So, when I try to use mkdir command to create 'local' directory in /usr , there are error "cannot make directory.....".
Look at my screenshot at [url].
View 9 Replies
View Related
Jan 18, 2010
How do you perform a long directory listing of all files in the /bin directory that have exactly three characters in their name?
View 1 Replies
View Related
Jan 29, 2010
Is there a way, on Linux, to cause all new files created in a directory to be owned by the directory's group instead of the creating user's group?
View 2 Replies
View Related
Oct 13, 2010
I want to run a cronjob every 15 minutes that checks a directory for files. If the directory contains more than ten files I want it to send an email to me.
All I have is this...
*/15 * * * * ls -l | wc -l | [filename] | mail -s "This is just a test" [email address]
I would rather not write a bash script. Is there an easier way to do this? I was looking into some commands like find and grep.
View 6 Replies
View Related
Jul 13, 2011
I'm quite new to linux but I have configured a simple ftp server and it's working great. I have a FTP-Shared folder with upload and download subfolders. Under upload's and download's I have identical category subfolders like mp3's, movies, software etc. in both. As the guy's upload, I would like to create a line crontab where I can move all the content under /FTP-Shared/upload/mp3/* older than 14 day's to FTP-Shared/downloads/mp3/ recursively (Like in cp command), but the timestamp must be searched on the first directory and not sub files example: /mp3/Club Dance/CD1/Hallo world.mp3This is how far I got:[root@clients ~]# /usr/bin/find /FTP_Shared/upload/Mp3s/ -depth -mindepth 1 -mtime +14 -type d -exec mv -f {} /FTP_Shared/download/Mp3s/ ;This command moves the directory and files, but it is not recursively
View 4 Replies
View Related
Nov 4, 2010
I'm getting an md5 checksum error during updating. Using the update manager. I'll post a snapshot.
Screenshot-Changes applied.png (38.46 KiB) Viewed 219 times
View 4 Replies
View Related
Nov 18, 2009
The CheckSum file I downloaded for Fedora 12 contains a header line indicating the checksums are SHA1 when in fact they are SHA256.
View 14 Replies
View Related
Dec 16, 2009
is there anyone who checked your downloaded file against the provided key? i have successfully downloaded the Fedora-12-i386-DVD.iso several times, but the SHA1 is not the one in Fedora-12-i386-CHECKSUM is there anyone who has the same problem? the SHA1 i calculated is: 0dc8ed436f0b44874454a379e8de5ad057c0115d
[Code]...
View 2 Replies
View Related
Feb 7, 2010
I have downloaded both fedora 11 64bit DVD iso and fedora 12 64 bit live cd,but the install failed on a brand new AMD Athlon II X4. The f11 was polite and said there were errors in the media, but f12 displayed an illegible line of text and stopped. On prior installs there was a obvious checksum value to verify that the download was good So far I have been unable to find one. I'd like to verify that the download is good before I buy more crappy cd's that don't work.
View 2 Replies
View Related
Feb 13, 2010
I have a problem. When I start Yast, and it tries to download the update repository, there is a checksum error. The problem is, that this error is always there, it occured about 2 weeks ago and never disappeared. When I change the update repository to a specific one, I chose a german one, there is still that checksum error. If I say yast I want to still use the repository with the error, there comes another checksum error, if i say i dont care about that one either, it says
Code:
"Download failed:./repodata/primary.xml.gz could not be retrieved from http://download.opensuse.org/update/11.2/Progress:-[DownloadCommand.cc:195] caught EOF from server"
View 9 Replies
View Related
Dec 28, 2009
I am attempting to do a new install of OpenSUSE 11.2 x86-64 by burning a network install disk. I am having trouble getting it to work on my hardware however. Whenever I boot up with the disc, I get a "image checksum error." I have tried to redownload the image and also reburn it. The disc will boot in VirtualBox but will not boot on the machine. I do not understand what could be causing this because the CD drive in the machine is working just fine.
View 1 Replies
View Related
Aug 10, 2010
I have Ubuntu 10.04 and I used my ssh to connect to a webserver. This is the version that I have installed.
Quote:
OpenSSH_5.3p1 Debian-3ubuntu4, OpenSSL 0.9.8k 25 Mar 2009
Apparently the server was hacked using my user and the server admin suggested the my ssh can be tainted.
do a checksum of the ssh, but I cannot find this file on my system.
Code:
md5sum /usr/sbin/sshd
And I will need a md5 hash from a good untainted version and I cannot find that as well on the openssh website.
View 7 Replies
View Related
Oct 7, 2010
is there a command within ubuntu to create a checksum of a machine after i have installed all of my needed software. i'm interested in this as a defense against rootkits
View 1 Replies
View Related
Oct 15, 2010
Where can I find the md5sum checksum for Ubuntu 10.10? They seem to keep it hidden.
View 2 Replies
View Related
Apr 30, 2011
I have problem witch installing larger packages. Small packages works always. Some bigger works after few tries (like vlc-data). Large packages never works (wesnoth-1.8-music 138MB). I checked many mirrors: main, every from Poland and most from Germany. It same on kubuntu 10.10 and 11.04. My ISP doesn't use proxy of any kind. What could be the reason?
View 5 Replies
View Related
Sep 1, 2011
I am new to Ubuntu and I need to know how is possible to calculate a file's MD5 checksum. Is there also any gui interface?
View 6 Replies
View Related
Jan 31, 2009
I am writing a program which modifies source IP address of packet before writing this packet to tap interface. I face only one problem with tcp checksum. I have current checksum, to get new checksum, I add new source IP address and add one complement of old source IP address. That is, I update checksum with difference of old and new source IP address. It sounds not bad but does not work.
View 1 Replies
View Related
Jul 16, 2010
get a code in c++ to find the md5 checksum of a string.
View 3 Replies
View Related
Nov 12, 2009
Can anybody tell what command can be used to check the checksum for a file or to match the checksum with the one provided by the download provider.
View 1 Replies
View Related