mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-16 00:48:36 +01:00
20 lines
491 B
Text
20 lines
491 B
Text
# To view the differences between two files:
|
|
diff -u version1 version2
|
|
|
|
# To view the differences between two directories:
|
|
diff -ur folder1/ folder2/
|
|
|
|
# To ignore the white spaces:
|
|
diff -ub version1 version2
|
|
|
|
# To ignore the blank lines:
|
|
diff -uB version1 version2
|
|
|
|
# To ignore the differences between uppercase and lowercase:
|
|
diff -ui version1 version2
|
|
|
|
# To report whether the files differ:
|
|
diff -q version1 version2
|
|
|
|
# To report whether the files are identical:
|
|
diff -s version1 version2
|