feed-image  ISSN 1836-5930

linux

Linux eBooks FREE Download

A Newbie's Getting Started Guide to Linux

Linux from Scratch - Create Your Own Linux System - Free eBook

Linux: The Hacking Solution (v.3.0)

The GNU/Linux Advanced Administration

A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)

Advanced Bash-Scripting Guide


Poll

Do you care about your privacy when using a FACEBOOK?
 


Partner Linux Sites: TuxMachines
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
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 a file file.txt with the following text:

Samba file and printer sharing is supported by  
all Linux Distributions:Suse Linux, Debian
Linux, Mandrake Linux, Red Hat Linux,
Fedora Linux, Gentoo Linux .

cksum see content of the file

$ cksum file.txt 

cksum generate cksum number
cksum calculates a cyclic redundancy check (CRC) of an any given file. Users can check the integrity of any file and see if the file has been modified. Use your favorite text editor and remove a "." from the end of the sentence to see that CRC will change.

$ cat file.txt 

cksum modified file content

$ cksum file.txt 

cksum generates different cksum number