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"
Posted in Tips-N-Tricks | Tagged bash, uniq | Leave a response