09-09-2013, 03:16 PM
Execute Unix/Linux Command and Describe the Output.
Objectives
Learn about various UNIX/LINUX command.
Tools / Preparation:
In the system first required to install Unix/Linux Operating System with the proper drivers.
Description:
Compare lines common to the sorted files file1 and file2. Output is in three columns, from left to right: lines unique to file1, lines unique to file2, and lines common to both files. comm is similar to diff in that both commands compare two files. But comm can also be used like uniq; comm selects duplicate or unique lines between 2 sorted files, whereas uniq selects duplicate or unique lines within the same sorted file.