Posted By

kuonirat on 05/09/13


Tagged


Versions (?)

Print 100 most often used commands


 / Published in: Bash
 

For fun and work optimisation purposes :)

  1. history | awk '{ print $2 }' | awk '{ a[$0]++ } END { for(key in a) print a[key], key }' | sort -rn | head -n 100

Report this snippet  

You need to login to post a comment.