16 points · by PStamatiou · 18y ago · 35 comments
history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
It'll be interesting to see what most people spend their time with.
this is what I get for my user:
83 ssh
51 ls
44 ec2-describe-instances
44 cd
40 sudo
20 ec2-run-instances
17 ec2-terminate-instances
15 ping
15 ifconfig
15 ec2-describe-images
alias cdd='cd $l; ls'
I can't find the original slides, here is a writeup by cromatic:http://www.oreillynet.com/onlamp/blog/2003/07/oscon_2003_day...
function z () { if [ $# = 0 ]; then ls -lFGh else cd "$*" && ls -lFGh fi }
That way if you don't specify a directory it just does an ls.
Edit: and apparently it took away my line breaks there, but it still makes sense.
Why the heck not?
195 vi
193 python
163 ls
100 cd
54 svn
37 ssh
36 ps
29 paster
29 kill
24 ./rollprod
Not surprised at all to see ls so high... most of the times I type it I'm not actually looking for its output, I'm just clearing my mind or trying to remember what I was doing. I think I should alias ls to print out a ToDo list. alias ls='cat ~/TODO'
Let's see what this does for productivity :) 89 svn
67 ant
55 ./reload.sh
53 java
43 /opt/android-sdk_m5-rc15_linux-x86/tools/adb
36 ./build.sh
28 cd
25 ./script/server
16 ls
11 /opt/android-sdk_m5-rc15_linux-x86/tools/emulator187 git
61 telnet (was troubleshooting random connectivity issues)
57 script/server
45 ls
45 cd (notice the same #'s as ls, should merge it into one command?)
44 firefox (crashes all the time :( )
32 rsync (backup)
23 ./xgospel (the best game ever! :)
23 alsamixer
40 dir
33 start
29 c:\python\python.exe
21 c:\tools\php\php.exe
...
just kidding
126 ls
58 fink
41 cd
34 sudo
33 exit;
30 host
22 which
19 curl
15 ssh
15 python 67 screen
59 ping
54 perl
49 vi
46 host
44 dmesg
39 killall
36 ps
30 ls
30 ip81 rake
72 cd
34 git
23 sc (alias for 'script/console')
19 merb
18 sudo
14 ssh
13 nano
13 ls
38 ssh
33 cd
32 ll
21 scp
16 ant
10 ls
7 ping
6 mkdir
5 mv
4 file
117 sudo
85 ls
45 cd
38 exit
21 yes
19 vlc
17 screen
11 ssh
10 dmesg
8 mplayer
48 s
42 cd
34 touch
30 apache (alias for sudo apachectl)
25 cp
24 gem
17 c
16 mate
14 irb
291 nice
93 cvs
17 .
15 pwd
13 emacs
10 cd
9 perl
9 export
7 find
6 cp
67 cd
65 ls
45 ssh
29 ipython
21 mate
19 man
16 ifconfig
12 sudo
10 svn
java surprised me.
84 cd
63 ls
33 HandBrakeCLI
29 rsync
10 java
8 ssh
7 mv
7 mkdir
7 javac
55 csc
37 ls
34 cd
27 gcc
20 cp
19 ./guestbook.cgi
17 mzc
16 rm
14 make
76 ls
67 emacs
63 cd
28 mysql
24 sudo
17 history
10 mv
9 ssh
6 rm
59 ls
47 sudo
47 ssh
20 man
15 cat
14 rm
12 ping
11 ps
11 ./configure
55 ant
52 ls
48 cd
44 clj
37 svn
37 ssh
30 mplayer
29 vim
29 cp
66 ls
61 cd
26 svn
18 less
10 python
10 cp
8 man
7 vim
3 rm
105 ls
66 cd
50 python
11 links
10 su
7 ps
7 cp
6 id
4 top
:-)
b:maurycy:~% echo $SHELL /bin/tcsh
128 p4 83 r 47 p4o 27 p4ch 23 rakts 22 curl 19 cap1d 18 ssh 13 script/scrape 12 open