Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 773 Bytes

comparing two files readme.md

File metadata and controls

10 lines (7 loc) · 773 Bytes

Comparing two files using diff and comm

In the image below you see 2,3c2,3 this indicates that lines two and three are different in the two files. image

In this image, I used the sorted command to sort the two files, then used the comm to compare the two files image

In the below image, I used the diff command with the -y flag to compare the two files side by side. image