Skip to content

Instantly share code, notes, and snippets.

@eliasby
Created August 26, 2015 10:17
Show Gist options
  • Save eliasby/30d6f2fc42ce3e3daad9 to your computer and use it in GitHub Desktop.
Save eliasby/30d6f2fc42ce3e3daad9 to your computer and use it in GitHub Desktop.
Remove duplicates from file
cat file.txt | sort | uniq -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment