> So, what are your top ten commands in the history? What can we learn
from this? :)
>
Repaired the deliberate mistake - copy and paste is a questionable activity,
White Box Dev Box:-
[root@wbox ~]# history | awk '{print $2}' | sort | uniq -c | sort -rg |
head -n 10
395 vim
219 ls
85 cd
50 mysql
25 rpm
25 cat
23 service
20 rm
17 mv
17 cp
Fedora server1
[root@server1 root]# history | awk '{print $2}' | sort | uniq -c | sort
-rg | head -n 10
185 ls
143 cd
90 grep
78 vim
75 ssh
51 ll
44 su
41 rm
38 cat
36 userdel
Debian sandbox
sandbox:~# history | awk '{print $2}' | sort | uniq -c | sort -rg | head
-n 10
99 vim
82 ls
68 webalizer
35 apt-get
31 cd
20 crontab
14 lftp
8 /etc/init.d/apache2
7 mv
7 lynx
Fedora ppc Mac Mini
[root@mcmac ~]# history | awk '{print $2}' | sort | uniq -c | sort -rg |
head -n 10
65 ping
62 ls
61 ssh
34 chkconfig
33 vim
33 cd
23 lftp
18 telnet
17 yum
13 nmap
White Box server
[root@wboxserver ~]# history | awk '{print $2}' | sort | uniq -c | sort
-rg | he ad -n 10
213 ls
158 cd
85 vim
35 ll
31 rpm
30 mount
29 service
19 cat
18 crontab
17 netstat
--
Damian Brasher
www.interlinux.co.uk
All mail scanned by clam-av
http://www.clamav.net/