Re: [Hampshire] Top ten commands in history

Top Page

Reply to this message
Author: Vic
Date:  
To: hampshire
Subject: Re: [Hampshire] Top ten commands in history
> So, what are your top ten commands in the history?

My main workstation :-

[vic@goliath ~]$ history | awk '{print $2}' | sort | uniq -c | sort -rg |
head -n 10
    152 ssh
    101 su
     69 dig
     62 man
     58 ls
     50 whois
     49 less
     42 rpm
     32 df
     32 cd


My server :-

[vic@hobgoblin vic]$ history | awk '{print $2}' | sort | uniq -c | sort
-rg | head -n 10
    159 su
     91 ls
     60 less
     56 cd
     52 sudo
     24 rpm
     21 mkdir
     20 locate
     19 balsa
     18 vi


Hmmm - seem to be "su"ing there mostly, so :-

[root@hobgoblin root]#  history | awk '{print $2}' | sort | uniq -c | sort
-rg | head -n 10
    304 grep
     93 less
     83 vi
     56 tail
     55 dig
     53 sa-learn
     32 tethereal
     28 ls
     25 nmap
     20 man


> What can we learn from
> this? :)


That ssh is one of my favourite applications? :-)

Vic.