2018/03/10 cksum of a linux command daily

Source: Internet
Author: User

Daily one Linux command 2018-03-10

Linux command Cksum

cksum [File]

  

Today downstairs, an aunt died, not only sigh, now, really and before the same, upstairs downstairs do not know who live?

   

The Cksum command is used to check that the file's CRC is correct. Ensure that files are not damaged while they are being transferred from one system to another.

CRC is an error-checking method, the standard of which is specified by CCITT, at least 99.998% known errors can be detected.

It is clear that the function of this command is to check the file of the same, in the choice of MD5 and hash, using which method, then see how to choose, how to consider.

  

Here is a brief look at its usage:

    

Using cksum > Files

The checksum value of the first CRC, and the second is the number of file bytes.

Modifying any of the contents of the file will change the value of the checksum.

This function may be used later, with new knowledge, and then back to the content.

When the specified file is checked by the instruction "cksum", the instruction returns the check result for the user to check if the file is correct. If you do not specify any file name or the given file name is "-", the Instruction "Cksum" will read the data from the standard input device

  

2018/03/10 cksum of a linux command daily

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.