File manipulation
diff is used to compare files and directories. This often-used utility program has many useful options (see: man diff) including:
To compare two files, at the command prompt, type diff options filename1 filename2. diff is meant to be used for text files; for binary files, one can use cmp.