Showing differences Use diff to show the difference of two files: diff -u /tmp/file1 /tmp/file2 Diff two folders and show the differences diff -qr /tmp/dir1 /tmp/dir2