diff <file1 name> <file2 name> # To output the result side-by-side, use -y option diff -y <file1 name> <file2 name> # for more details, use the -u option diff -u <file1 name> <file2 name>