Sort and deduplicate linux
Count and rank duplicate lines in a file
sort file.txt | uniq -c | sort -rn | head -20
more linux
all 133 commands →
Count and rank duplicate lines in a file
sort file.txt | uniq -c | sort -rn | head -20