Sponsored Content
Full Discussion: checksum
Operating Systems Solaris checksum Post 302375369 by redstone on Friday 27th of November 2009 12:49:46 PM
Old 11-27-2009
checksum

Anyone can tell me the different between "cksum" and "sum" command on Solaris? I read the man pages but still not get it.

And how to display the md5 checksum for a file.

Thanks,
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Checksum question

in HPUX: I am copying oracle datafiles from one mountpoint to another the total size is about 250Gb. I wanted to perform a checksum on the target and make sure the files came overy properly. Mountpoints: /s01 to /u01 /s02 to /u02 I tried using "SUM" on these mountpoints but its taking... (1 Reply)
Discussion started by: jigarlakhani
1 Replies

2. Filesystems, Disks and Memory

Directory is Same but Checksum is different

Hello, I am performing a checksum on our software we have installed on a unix solaris 2.0 os. If the checksum generated report is not the same as a 'Gold' report we have on disk. Then our software is deleted, and reinstalled. The problem I am having is if you run the program again, the... (3 Replies)
Discussion started by: JustinPyfrom
3 Replies

3. SCO

checksum

Does anyone know the answer to this? When I run "sum -r" on a file that I've down loaded from the sco website, the 1st set of numbers differs from the checksum on the download page but the 2nd set matches. If I try to install the patch, I get errors. Anyone has an answer? (3 Replies)
Discussion started by: jn5519
3 Replies

4. Shell Programming and Scripting

Checksum+SFTP

Hi ALL, I use solaris OS and SFTP to get/put files from remote server.I use the below command , sftp user@host<<EOF cd "dir" get --checksum "filename" EOF I am getting a strange error as " get --checksum INVALID paramter". It has been working succesfully since last 3 years but all of a... (1 Reply)
Discussion started by: mohanpadamata
1 Replies

5. Shell Programming and Scripting

FTP and Checksum

Hi Guys, Sometimes, I have a problem with transferred files in ftp session. Thats why I want to produce checksum value in my local server and remote server. But I could not find anyway to produce checksum value of transferred files in remote server. Do you have any idea? Thanks, Emre (3 Replies)
Discussion started by: ce_emre21
3 Replies

6. UNIX for Dummies Questions & Answers

sftp checksum! why we use it

Hi All, In file transfer with sftp protocol, what is the purpose "checksum" solves? Is this something not getting the file which has already been bought? Waiting for your response !!! (1 Reply)
Discussion started by: sk84993
1 Replies

7. Solaris

md5 checksum what does it do

Hello good people, I came across md5 checksum. Can anyone please explain to me what it does and if possible an example of how to use it? Thank you very much (1 Reply)
Discussion started by: cjashu
1 Replies

8. IP Networking

Wireshark UDP checksum bad checksum

Hello I am communicating with two devices using my computer over UDP protocol. The application is running fine. When I monitored the UDP traffic using Wireshark software, I found that there were too many Checksum errors. Please find attached the png file showing this error. I am about to... (0 Replies)
Discussion started by: AustinCann
0 Replies

9. Solaris

MD5 checksum

Hi Guys, I have about MD5 checksum so many times but I can't figure out how to use it. Can someone please show me how to perform an MD5 checksum? Thanks a lot guys. (1 Reply)
Discussion started by: cjashu
1 Replies

10. Shell Programming and Scripting

Script to get checksum of itself

is there a way to get a script to do a checksum on itself? something like this: #!/bin/sh myexpectedsig=$(cksum $0 | awk '{print $1}') if ; then exit else who uptime date fi im looking for something that would always represent the running script, which is why im... (6 Replies)
Discussion started by: SkySmart
6 Replies
cksum(n)							       cksum								  cksum(n)

NAME
cksum - calculate a cksum(1) compatible checksum SYNOPSIS
package require Tcl 8.2 package require cksum ?1.0? ::crc::cksum ?-format format? message ::crc::cksum ?-format format? -filename file DESCRIPTION
This package provides a Tcl-only implementation of the cksum(1) algorithm based upon information provided at in the GNU implementation of this program as part of the GNU Textutils 2.0 package. COMMANDS
::crc::cksum ?-format format? message ::crc::cksum ?-format format? -filename file The command takes string data or a file name and returns a checksum value calculated using the cksum(1) algorithm. The result is formatted using the format(n) specifier provided or as an unsigned integer (%u) by default. OPTIONS
-filename name Return a checksum for the file contents instead of for parameter data. -format string Return the checksum using an alternative format template. EXAMPLES
% crc::cksum "Hello, World!" 2609532967 % crc::cksum -format 0x%X "Hello, World!" 0x9B8A5027 % crc::cksum -file cksum.tcl 1828321145 SEE ALSO
sum(n), crc32(n) AUTHORS
Pat Thoyts KEYWORDS
cksum, checksum, crc, crc32, cyclic redundancy check, data integrity, security crc 1.0 cksum(n)
All times are GMT -4. The time now is 08:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy