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.
|
 |
-b option
Tells the command to ignore the changes in the amount of white space.
|
 |
--brief option
Tells the command to only tell the user if the files are different from eachother, not the details of the differences.
|
 |
-d option
Has the command look for a smaller set of changes. This will often make the command run much slower.
|
 |
-f option
This makes the command show changes in the order they appear.
|
 |
-i option
This tells the command to ignore the difference between upper and lower case letters, in other words, ignore changes in case.
|
 |
-y option
Tells the command to use side by side output format.
|
 |