DISQUS

DISQUS Hello! Homo-Adminus Blog is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Jump to original thread »
Author

Command Line History

Started by Scoundrel · 11 months ago

Inspired by the Rail Spikes:

bash-3.2$ history 1000 | awk ‘{a[$2]++}END{for(i in a){print a[i] " " i}}’ | sort -rn | head

228 cd

167 git

10 ssh

10 DEPLOY=production

6 sudo

6 pwd

6 ./script/import_views.rb

5 rm

4 rake

4 mv

bash-3.2$<br ... Continue reading »

1 comment

  • I'm lead programmer in the software developmenet company and open source contributor :-)

    I use ssh often too, but opened sessions lives days and weeks :-)

    [ latest ]

    sherman@black-mamba ~ $ history 1000 | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
    322 git
    115 df
    86 sudo
    77 php
    69 svn
    51 ls
    49 cd
    31 ssh
    18 ./one-thread
    16 rm

    [ globaly ]

    sherman@black-mamba ~ $ history 10000 | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
    558 php
    329 git
    276 ./one-thread - [ debugging c++ app :-) ]
    185 df
    168 sudo
    135 ls
    125 cd
    82 svn
    81 telnet
    68 ssh

    p.s. git rulez!

Add New Comment

Returning? Login