diff

compare files line by line Usage: diff [OPTION]... FILES

Options

OptionDescription
--normaloutput a normal diff (the default)
-q, --briefreport only when files differ
-s, --report-identical-filesreport when two files are the same
-c, -C NUM, --context[=NUM]output NUM (default 3) lines of copied context
-u, -U NUM, --unified[=NUM]output NUM (default 3) lines of unified context
-r, --recursiverecursively compare any subdirectories found
-a, --texttreat all files as text