diff

From wikieduonline
Revision as of 12:01, 8 January 2024 by Welcome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

diff compare files line by line


Examples

  • diff -y file1 file2
  • diff -y --suppress-common-lines file1 file2
  • diff -y --suppress-common-lines -W 200 file1 file2


  • diff /path/to/DIRECTORY1/ /path/to/DIRECTORY2/
  • diff -r /path/to/DIRECTORY1/ /path/to/DIRECTORY2/
  • diff -y file1.tf file2.bak --suppress-common-lines


Related commands

See also

Advertising: