Shell History Meme

I got tired of seeing everyone on the planets (Fedora & Gnome) showing-up in Liferea doing this, and I was left out.  So here’s mine from work:

[basil.gohar@escapdv01 ~]$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
265 ll
210 cd
101 time
86 dbrestore
79 exit
28 su
24 vi
18 ssh
17 ping
16 less

“dbrestore” is an alias for a script I use to…well..restore DBs.  One that is not on here that was the first time I ran the script is my “search” alias, which is a wrapper for find & grep that searches the contents of PHP files (since that’s what I spend all day working on).

I’ve even added a GNOME category.  Maybe after this I’ll start posting more Fedora- & GNOME-related topics, and increase my chances of getting listed in the planets…

I’ll update with my home laptop & PC results after I get home tonight, in shaaʾ Allaah (notice I’m using “ʾ” to mark an Arabic hamzah in my transliteration…more on that later…in shaaʾ Allaah…;) )

Leave a Reply

Your email address will not be published. Required fields are marked *