#TIL : Stats your top-10 frequently commands

Run this command, it will show top-10 frequently commands, explain shell

1
$ history | awk '{print $2}' | sort | uniq -c | sort -nr | head

Example result

1
2
3
4
5
6
7
8
9
10
2064 git
1284 ls
826 cd
700 ssh
602 clear
491 python
473 exit
341 vagrant
242 export
167 ping

Comments