The diff command may be what you need. It can report on the line by line differences between 2 text files. It only tells you whether or not the 2 files are different if they are binary though.
I usually use the -u switch which outputs in a format I prefer. However, -y outputs differences side by side which is also useful. Try the man page - if it doesn't explain it clearly, let me know