A constant reminder that life was so much better before the internet
Ditto.
Ditto again. I must use that command about 20 times a day.
I just use this old chestnut:history|awk '{a[$2]++}END{for(i in a) \{print a[i] " " i}}'|sort -rn|head
It was rather obvious though, wasn't it?
Post a Comment
4 comments:
Ditto.
Ditto again. I must use that command about 20 times a day.
I just use this old chestnut:
history|awk '{a[$2]++}END{for(i in a) \
{print a[i] " " i}}'|sort -rn|head
It was rather obvious though, wasn't it?
Post a Comment