Skip to content

Instantly share code, notes, and snippets.

@andreyshuster
Created May 12, 2014 12:55
Show Gist options
  • Save andreyshuster/e5e944afb1ee13c41d22 to your computer and use it in GitHub Desktop.
Save andreyshuster/e5e944afb1ee13c41d22 to your computer and use it in GitHub Desktop.
compare 2 text files and print lines that differs
cat file1.txt file2.txt| sort | uniq -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment