Friday, February 4, 2011

What is your favorite command on terminal ?

  I  am an avid terminal user and try to work directly on $ prompt as far as possible.  If you are a command line geek, the following command can display  the 10 commands that you use most often.

  $  history | awk '{print $2}' | sort | uniq -c | sort -rn | head -10

Here is my output.

   73 sudo
     56 ls
     46 cd
     23 ifconfig
     20 dmesg
     11 ps
     10 ssh
     10 lsusb
      9 vi
      8 wget
 
 If you like this , please post your  list of commands.

4 comments:

Anonymous said...

root: 107 ls
30 mount
29 cat
27 nano
25 ping
19 equo
19 dhclient
18 growisofs
15 locate
13 cp

user: 225 tvtime
47 wc
28 ls
24 ping
23 su
15 wget
14 killall
13 cat
11 df
11 bc

John Kernel said...

39 su
35 ping
29 cd
26 ls
21 sudo
19 rdesktop
17 startx
15 ifconfig
9 man
9 ./cria_agenda.sh

Anonymous said...

281 ls
195 cd
65 sudo
57 rm
56 vim
35 la
29 dpkg-buildpackage
28 cat
21 dpkg
20 less

Bernard said...

user:
41 su
30 xterm
20 find
17 ls
11 grep
11 cd
11 cat
10 uxterm
8 for
8 echo