Created
September 2, 2015 18:04
-
-
Save proxium/6daace60a6b8bf86546e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use those commands to check for duplicate lines in <file> | |
# The more verbose --count flag with the GNU version: | |
sort <file> | uniq -c | |
# The more verbose --count flag with the GNU version: | |
sort <file> | uniq --count | |
# Show only print duplicate lines | |
sort <file> | uniq -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment