sort PATH_TO_FILE | uniq -d
Continuously watch for duplicate lines as you work on a file
watch "sort PATH_TO_FILE | uniq -d"
sort PATH_TO_FILE | uniq -d
Continuously watch for duplicate lines as you work on a file
watch "sort PATH_TO_FILE | uniq -d"