Linux Command Encyclopedia file management: CMP

Source: Internet
Author: User
Keywords Linux file management command encyclopedia
Tags aliyun command encyclopedia compared difference differences display file file management

Function Description: Compare two files for differences.

Grammar: cmp&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;" [-CLSV] [-i < character number] [--help] [First file] [Second file]

Supplemental Note: When the two files that are compared to each other are identical, the directive does not display any information. If a difference is found, the preset marks the first difference in the number of characters and columns. If no file name is specified or the given file name is "-", the CMP instruction reads the data from the standard input device.

Parameters:
-C or--print-chars displays the corresponding character of the character in addition to the decimal codes marked at the difference.
-i< number of characters > or--ignore-initial=< characters > Specify a number.
-L or--verbose marks all the different places.
-S or--quiet or--silent does not display an error message.
-V or--version display version information.
--help online Help.

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.