Here are some common options for the diff command:
-u: Unified format; shows a few lines of context around the differences.-c: Context format; provides more context than the unified format.-i: Ignores case differences in the comparison.-w: Ignores all white space when comparing lines.-r: Recursively compares any subdirectories found.-q: Reports only whether the files differ, not the details of the differences.-N: Treats absent files as empty when comparing.
You can combine these options as needed. For example, diff -u -r dir1 dir2 will recursively compare two directories and show differences in a unified format. If you need more details on a specific option, let me know!
