Cksum
|
From Linuxconfig.org
.. back to the list of Linux Commands
Name
cksum - checksum and count the bytes in a file
Synopsis - man page
cksum [FILE]... cksum [OPTION]
Examples
Create file with following text:
echo "Samba file and printer sharing is supported by all Linux Distributions: Suse Linux, Debian Linux, Mandrake Linux, Red Hat Linux, Fedora Linux, Gentoo Linux ." > file.txt
$ cksum file.txt
cksum calculate a cyclic redundancy check (CRC) of given file. Users can check the integrity of file and see if the file has been modified. use your favorite text editor and remove a "." from the end of the sentence.
$ cat file.txt
$ cksum file.txt















