Categories
Computers

Commands

My contribution to the meme:

blowery@hermes:~$ history 1000 | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
170 cd
78 ls
55 sudo
31 svn
18 scons
18 nm
12 less
9 grep
8 rm
8 make

As for why these, here are some rough guesses:

cd
obviously we use a lot of directories and I end up moving around quite a bit.
ls
implicitly tied to cd usage I think. And I have a lousy memory for what file names in what dirs.
sudo
This meme caught me while I was setting up a new working vm instance, hence all the sudo. Normally, I don’t think I use it quite so much.
svn
svn is our source control management tool of choice
scons
scons is our build tool of choice
nm
nm lists the exported symbols in a library. I was tracking down a problem with MySQL and a broken exported symbol during the aforementioned instance install.
less
less is my pager of choice
grep
handy for finding things
rm

handy for removing things. I think this was related to MySQL causing me grief
make
everyone else’s built tool of choice and I was installing a lot of everyone else’s stuff
Advertisements

2 replies on “Commands”

What do you Command ?…

Ben had a great post, with a snippet of terminal wizardry that shows you what commands you run most often and how often. Aside from the obvious paranoid thought of copy/pasting code that you have no idea what it does into a terminal window and hitting…

I’m surprised that mate isn’t higher in the list, although I guess I use it a ton at the end of a lot of commands ` | mate`

77 svn
77 cd
75 ls
29 ssh
26 scp
25 mate
22 bzr
18 sudo
18 open
13 cp

Comments are closed.