Skip to content

Instantly share code, notes, and snippets.

@morrxy
Last active October 11, 2017 08:12
Show Gist options
  • Select an option

  • Save morrxy/3fc6aa55432b4de5f16bfe1c49111bbb to your computer and use it in GitHub Desktop.

Select an option

Save morrxy/3fc6aa55432b4de5f16bfe1c49111bbb to your computer and use it in GitHub Desktop.
[file compare] #diff

https://www.computerhope.com/unix/udiff.htm

-c view differences in context mode -u Unified mode (the -u option) is similar to context mode, but it doesn't display any redundant information -y Display output in two columns

diff file1 file2 
diff -c file1 file2
diff -u file1 file2
diff -y file1 file2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment