My experience with Linux distributions and advice for their use.
history | sed -e 's/ / /g' | cut -d " " -f3 | sort | uniq -c | sort -n | tail | sort -nr
zj1992@Blokhmen:~$ history | sed -e 's/ / /g' | cut -d " " -f3 | sort | uniq -c | sort -n | tail | sort -nr 71 sudo 32 ls 28 trigger 20 man 18 killall 17 htop 17 cd 16 nc 13 echo 12 apt-cache
[alanhaggai@archer ~]$ history | sed -e 's/ / /g' | grep -v ' ' | cut -d " " -f5 | sort | uniq -c | sort -n | tail -n11 | sort -nr 183 sudo 98 cd 81 exit 61 perl 46 ls 35 vim 25 irssi 19 man 18 cat 15 rm
zj1992@Blokhmen:~$ history | sed -e 's/ / /g' | cut -d " " -f3 | sort | uniq -c | sort -n | tail | sort -nr
ReplyDelete71 sudo
32 ls
28 trigger
20 man
18 killall
17 htop
17 cd
16 nc
13 echo
12 apt-cache
[alanhaggai@archer ~]$ history | sed -e 's/ / /g' | grep -v ' ' | cut -d " " -f5 | sort | uniq -c | sort -n | tail -n11 | sort -nr
ReplyDelete183 sudo
98 cd
81 exit
61 perl
46 ls
35 vim
25 irssi
19 man
18 cat
15 rm