#til

#TIL : Stats your top-10 frequently commands

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 post?

If you found this helpful, consider sharing it or leaving a kudo!

0 kudos