首页
首页 » 文件管理 » cksum(check sum)

cksum(check sum)

cksum(check sum)
功能说明:检查文件的CRC是否正确。 
语  法:cksum [--help][--version][文件...]  
补充说明:CRC是一种排错检查方式,该演算法的标准由CCITT所指定,至少可检测到99.998%的已知错误。指定文件交由cksum演算,它会回报计算结果,供用户核对文件是否正确无误。若不指定任何文件名称或是所给予的文件名为"-",则cksum指令会从标准输入设备读取数据。 
参  数:
 --help  在线帮助。 
 --version  显示版本信息。

cksum

cksum [files]

Compute a cyclic redundancy check (CRC) checksum for all files; this is used to ensure that a file was not corrupted during transfer. Read from standard input if the character - is given or no files are given. Display the resulting checksum, the number of bytes in the file, and (unless reading from standard input) the filename.