Question: how to use diff file diff?
Answer: Open a terminal window. Type diff and the paths to two files you'd like to compare. ...  Press Enter to submit the command. ...  To see a side-by-side view of the files and their differences, use the -y flag after diff .