til

#TIL : Stats your top-10 frequently commands

I learned on 2016-03-26 about bash, command-line, sysadmin

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

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

Example result

2064 git
1284 ls
 826 cd
 700 ssh
 602 clear
 491 python
 473 exit
 341 vagrant
 242 export
 167 ping

Enjoyed this?

Leave a kudo — it means a lot.

0