feed-image  Delivered by FeedBurner  ISSN 1836-5930





Visitors Online

We have 88 guests online

Poll

Which of following tutorials would you like to see on the Linuxconfig.org?
 
Partner Linux Sites
TuxMachines
DebianAdmin
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
FreeSoftwareLinux
Jam's Ubuntu Blog
All For Linux

cksum
Article Index
1. Name
2. Synopsis
3. Examples

1. Name

cksum [man page] - checksum and count the bytes in a file

2. Synopsis

cksum [FILE]...
cksum [OPTION]

3. 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 see content of the file
$ cksum file.txt 
cksum generate cksum number
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 modified file content
$ cksum file.txt 
cksum generates different cksum number