diff checks two files for differences and can show the differences. tkdiff is a gui diff with not a lot of dependencies. kompare is a kde alternative.