~/CyberRef$
Diff
The diff (difference) command compares files line item by line item and displays the differences.
Comparing Differences
As a basic example, here's how to compare differences between two files ignoring case:
diff -i myFirstPoem.txt mySecondPoem.txt
The above command would display differing lines from the two text files.
Reference
https://www.geeksforgeeks.org/linux-unix/diff-command-linux-examples/