The Shell Meme
I ran across The Shell Meme on Lincoln Stoll’s blog, and figured I’d, uh, borrow it.
Run this command in a new shell:
history | awk '{ a[$2]++ } END { for(i in a){printf "%5d\t%s\n ",a[i],i} }' | \
sort -rn | head
I get this as the output
379 git
221 cd
181 ssh
77 sudo
69 ruby
66 ls
34 rake
33 m
32 bb
31 m.
bb
changes directory straight into my BrightBox source directory. m
and m.
are TextMate alias’s to open files or directories in TextMate for editing.