Nguyễn Trọng Tân
New member
How do I run a diff between two files?
Answer
Comparing files (diff command)
Answer
Comparing files (diff command)
- To compare two files, type the following: diff chap1.bak chap1. This displays the differences between the chap1. …
- To compare two files while ignoring differences in the amount of white space, type the following: diff -w prog.c.bak prog.c.