stefano@arda:~$ history | awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’ | sort -rn | head
69 cd
62 ps
54 ls
38 exit
34 ssh
26 clear
25 gcc
24 sudo
23 kill
23 ./cake
Cuales son los tuyos!
stefano@arda:~$ history | awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’ | sort -rn | head
69 cd
62 ps
54 ls
38 exit
34 ssh
26 clear
25 gcc
24 sudo
23 kill
23 ./cake
Cuales son los tuyos!