Comm of one linux command per day

Source: Internet
Author: User
The commcomm command of a linux command every day compares two sorted files in the unit of behavior. Comm -- help can be used to view command parameters. Commfile1file2 first, file1 and file2 must be sorted files. the command compares the content in file1 and file2, which is divided into 3...
The comm command of a linux command per day is used to compare two sorted files in the unit of behavior. Comm -- help can be used to view command parameters. Comm file1 file2 first file1 and file2 must be sorted files. the command compares the content in file1 and file2 and is listed in three columns: exclusive to file1, exclusive to file2, and shared by file1 and file2. You can also use the standard input to input the file name, change the file name to-(minus sign), and press ctrl + d to end. Www.2cto.com comm-1 file1 file2 is not unique to file1. Comm-2 file1 file2 does not display unique in file2. Comm-3 file1 file2 does not display the two files in total. Of course, parameters can be used in combination. For example,-12: displays the total number of two files.
Author: CrazyNemo
Related Article

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.