Something simple and useful. Finding the duplicate lines in UNIX is done with the following series of commands:
sort [file] | uniq -c | awk '$1 !~/1/'
Something simple and useful. Finding the duplicate lines in UNIX is done with the following series of commands:
sort [file] | uniq -c | awk '$1 !~/1/'