The pages gives a comprehensive list of the options for the diff command and how to use the options.

Code Output

-a option

         This tells the diff command to treat all of the files as text, even if they are not text, and compare them line by line.

Output

-b option

         Tells the command to ignore the changes in the amount of white space.

Output

--brief option

         Tells the command to only tell the user if the files are different from eachother, not the details of the differences.

Output

-d option

         Has the command look for a smaller set of changes. This will often make the command run much slower.

Output

-f option

         This makes the command show changes in the order they appear.

Output

-i option

         This tells the command to ignore the difference between upper and lower case letters, in other words, ignore changes in case.

Output

-y option

         Tells the command to use side by side output format.

Output