comm compares (sorted) input files and by default outputs three columns: lines that are unique to a, lines that are unique to b, and lines that are present in ...
We can compare the files with this command. Type diff , a space, the name of the first file, a space, the name of the second file, and then press Enter.
Use the diff command to compare text files. It can compare single files or the contents of directories. When the diff command is run on regular files, and when ...