CRC(1) General Commands Manual CRC(1)NAME
crc - print the checksum of the file data
SYNOPSIS
crc file ...
EXAMPLES
crc *.c # Print checksums of all the C programs
DESCRIPTION
The checksum of each argument is computed and printed, along with the file length and its name, one file per line. This program is useful
for seeing if a file transmitted to another machine has arrived correctly. It is conceptually similar to sum, except that it uses a
stronger checksum algorithm and also prints the length.
SEE ALSO cksum(1), sum(1).
CRC(1)
Check Out this Related Man Page
sum(n) sum sum(n)
NAME
sum - calculate a sum(1) compatible checksum
SYNOPSIS
package require Tcl 8.2
package require sum ?1.0?
::crc::sum ?-format format? message
::crc::sum ?-format format? -filename file
DESCRIPTION
This package provides a Tcl-only implementation of the sum(1) command which calculates a 16 bit checksum value from the input data. The
BSD sum algorithm is used by default but the SysV algorithm is also available.
COMMANDS
::crc::sum ?-format format? message
::crc::sum ?-format format? -filename file
The command takes string data or a file name and returns a checksum value calculated using the sum(1) algorithm. The result is for-
matted 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::sum "Hello, World!"
37287
% crc::sum -format 0x%X "Hello, World!"
0x91A7
% crc::sum -file sum.tcl
13392
SEE ALSO sum(1), cksum(n), crc32(n)
AUTHORS
Pat Thoyts
KEYWORDS
sum, cksum, checksum, crc, crc32, cyclic redundancy check, data integrity, security
crc 1.0 sum(n)
there is a message crc error when i install rethat 7.1
what is these message means ?
And why is my harddisk drive detected as hdc not hda ??
please do reply if you have any idea or guesses .
thanking you all
systen config :
intel P4
intel 845
256 SD
... (1 Reply)
hello,
I have implemented a 32bit crc generation algorithm. Now at the receiver side i need to check the crc for that....i need to add the message in the packet and the crc and divide it with the key common at both side and the remainder should be zero.
now how to add crc which is hexadecimal... (4 Replies)
Hi, I was working on the M3000 and I did a init 0, powered off the system during the weekend. When I tried to poweron today, the XSCF linux boot image keeps on rebooting and does not go to the login for XSCF access. The "Check" LED is on amber. Tried diagnosing but cant get the system up. Any help... (1 Reply)
Hello!
For long I used cksum to find file duplicates in linux and darwin.
Now I want to make my own program that does all.
However I can't seem to find the correct algorithm.
zip and cksum claim to use the same algorithm, but the computated sums are not the same.
I've already written an... (4 Replies)
Is cksum the right command to calculate the crc32 checksum value? I tried it for a number of files now and every time the results dont match. So there is nothing wrong with the file. Also, cksum gives me an all numerical value while crc32 is alpha numeric. What am I doing wrong?
Thanks (9 Replies)
I would like to list all files in a directory tree but with a prepended digest hash code (like CRC32). CRC32 is not a MUST. If suitable another hash code can be used as well. In case of CRC32 the listing should look like
3765AC \usr\bin\spool
23CE99 \usr\bin\spool\list.h
...
11AA04... (3 Replies)
unzip -v gives CRC info of each file in a zip(in my case .EAR) file.
# unzip -v my-application.ear
Archive: my-application.ear
Length Method Size Cmpr Date Time CRC-32 Name
-------- ------ ------- ---- ---------- ----- -------- ----
197981 Defl:N 183708 7%... (1 Reply)