I comandi più usati in shell

Per trovare i comandi più usati:

history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head

output:

200 sudo
37 cd
33 mvn
33 ll
17 locate
16 sux
15 vi
15 ssh
14 find
11 rm
10 diff