2 ms·
sort | uniq -c | sort -n The second sort is sorting by frequency (the count output by `uniq -c`).
by Aaron2222 11mo ago
sort | uniq -c | sort -n
The second sort is sorting by frequency (the count output by `uniq -c`).
- emmelaich 11mo agoI often add `head` with `sort -rn` because I'm only interested in the largest.