Linux cksum command
Translation results:
cksum
Linux cksum commandsyntax
Function: cksum command is used to check whether the CRC of the file is correct.
Syntax: cksum [--help][--version][File...]
Linux cksum commandexample
Use the command "cksum" to calculate the integrity of the file "testfile1" and enter the following command:
$ cksum testfile1
After the above command is executed, the check code and other related information will be output. The specific output information is as follows:
1263453430 78 testfile1 //输出信息
In the above output information, "1263453430" represents the check code, and "78" represents the number of bytes.