Can't remember where this started but the most recent version I've seen is Garrett's...
ogley@riggwelter:~> history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
1 history
Notes:
Can't remember where this started but the most recent version I've seen is Garrett's...
ogley@riggwelter:~> history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
1 history
Notes: