My Top Ten UNIX Commands
What are the most popular commands in your shell history? (Only geeks need reply.)
$ history|awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c|sort -r (via IBM developerWorks)
506 cd
460 emacs
321 cup
298 cvs
229 grep
193 ll
101 rm
45 cleanup
41 find
35 python
Of those cup is an improved cvs update, ll aliases to ls -l and cleanup is a script that gets rid of emacs backup files.
I can't help but notice that 'pico' is not on your list. Shame on you.
Posted by: Will on September 21, 2006 9:23 PM | permalinkThe last time "pico" was on my list was 1998, when it was the only way I knew how to edit my .plan file in college.
Posted by: Joe Grossberg on September 21, 2006 9:50 PM | permalinkhmmmm.... Nitpick that the last sort there needs a -rg instead of just a -r to sort numerically instead of alphabetically. That aside I'm shocked on how the things I spead all my time actually doing don't make the list.
180 ls
108 svn
89 ./score.py
88 cd
78 python
78 ps
66 kill
64 ./download.py
43 mv
28 rm
score.py and download.py are the two scripts I'm developing that aren't accessed via a webframework. But of course I spend all my time in either firefox or kate (my editor) neither of which ever actually get closed so they don't appear on the list.
Posted by: Nephlm on September 22, 2006 11:20 AM | permalink 258 cd
252 ls
195 vi
89 grep
60 su
30 wget
15 pwd
15 mv
8 yum
6 tail
i remove nothing, i am a packrat.
Posted by: Chad on September 22, 2006 11:41 AM | permalinkNephlm:
Why do you have to "kill" processes so often?
Chad:
WTF is "yum"?
Posted by: Joe Grossberg on September 22, 2006 12:09 PM | permalinkyum is a package installer.
'yum install vim'
etc.
Posted by: Chad on September 22, 2006 1:10 PM | permalinkMy top six:
touch
finger
head
mount
fsck
sleep
Please keep it on-topic. Don't spam or advertise. Don't pretend to be someone else. Anonymity is OK, but less credible.
HTML tags are automatically stripped out of your comments for security reasons. If you want to put a link to something, just enter the URL. We'll figure it out.
