history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
140 git 103 ls 73 cd 55 mate 26 sake 26 mv 23 rake 8 autotest 5 gem 4 sudo
various musings
history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
140 git 103 ls 73 cd 55 mate 26 sake 26 mv 23 rake 8 autotest 5 gem 4 sudo
Alex B Coles is a web developer
© Copyright 2017, Alex B Coles.
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.