Wednesday, April 9, 2008

my command line

Tanner, Cristóbal, Jim and maybe others have posted theirs, so here it goes:

Home "server" (rarely do I actually log in via the command line except to clean up files and directories, etc):

159 ls
119 cd
40 exit
18 du
14 mysqldump
12 wget
12 sftp
9 history
8 rm
6 whois

Work server:

170 ssh
131 ping
97 exit
64 cat
60 ls
56 su
42 history
36 screen
33 vi
26 cd

One of my "remote" machines on the Internet:

130 ssh
121 exit
39 sudo
39 ping
35 screen
28 ls
10 cd
9 set
7 drutil
6 which

1 comment:

cristobalpalmer said...

Greg: a tip which you probably already know but don't use out of habit. Instead of typing 'history', use 'CNTRl-r' and start typing the command you want. 'CNTRL-r' does a reverse search through your history. You can hit TAB to be dumped back at the prompt with the command and alter it from there, or just hit enter to go ahead and use it. That and using "!$" instead of retyping whatever the last argument of the last command was are the two things that save me the most time at a bash prompt, I think.