Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Aaron2222
· 1y ago · 0 comments
sort | uniq -c | sort -n
The second sort is sorting by frequency (the count output by `uniq -c`).
Comments
[–]
emmelaich
1y ago
I often add `head` with `sort -rn` because I'm only interested in the largest.