Your top ten linux commands ?
So I thought it would be fun to start a top ten list of everyone’s most commonly used Linux commands.
On your Linux box run the following command.
#
history |tr '\011' ' ' |tr -s " "| cut -d' ' -f3 |sort |uniq -c |sort -nbr |head -n10
Hopefully that gives you a similar output, if so it should give you a list of the top ten most commonly used commands in your command history sorted by the most common first. The number just before the command is the number of times it has been run.
Here’s my top ten.
——————————–
200 clear
193 ls
142 vi
48 cd
45 less
45 history
41 yum
41 tail
19 cp
18 ./configure
——————————–
Post your top ten commands in the comments.
-------------------------Blog this:
Digg it
del.icio.us
Technorati?
August 7th, 2007 at 2:35 pm
100 exit
98 ssh
42 ls
33 netstat
30 sudo
27 cd
26 ps
24 ping
24 clear
13 su
Here’s mine
August 7th, 2007 at 5:29 pm
136 ls
90 cd
87 sudo
20 rm
14 mv
12 find
9 ping
9 aptitude
7 ftp
6 Thunar
August 8th, 2007 at 5:20 am
224 ls
148 cd
50 ..
46 rm
36 man
29 df
28 vlc
26 su
19 vim
18 xmoto
August 8th, 2007 at 8:23 am
143 ls
95 cat
70 time
69 ssh
67 cd
56 openssl
39 find
36 man
27 /usr/bin/time
24 vim
August 8th, 2007 at 1:58 pm
81 ls
52 cd
45 exit
33 who
26 ping
25 su
24 screen
24 ps
22 clear
15 startkde
August 21st, 2007 at 10:41 pm
179 cd
161 ls
89 yum
71 vi
38 make
25 rpm
24 service
22 exit
20 tar
16 ./configure
February 20th, 2008 at 8:18 am
124 grep
92 ssh
86 svn
83 find
70 perl
54 sudo
51 for
36 ls
35 less
35 cd
I think I get the prize for the “most useful” top command.
May 1st, 2008 at 10:48 am
200 ls
176 cd
147 clear
69 w
52 vi
44 nmap
42 ping
38 cat
23 netstat
20 whereis
May 30th, 2008 at 4:52 pm
From my home Ubuntu Linux (8.04) machine, guess I’ll have to come back with the results from my 3 other home Linux machines and my work machine.
65 sudo
12 ls
10 cd
8 ping
7 smc
6 exit
6 cat
5 ps
3 lspci
3 killall
November 12th, 2008 at 4:59 pm
3qum10lbgeywp03p