Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Sort Last 1000 Shell Commands By Popularity

DZone's Guide to

Sort Last 1000 Shell Commands By Popularity

·
Free Resource

  history 1000 | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}