Find your most commonly used Linux commands

April 25, 2014

Was looking through some old documents ( From 2007! ) and I ran across a neat command that I had forgotten about. This command searches through your bash shell history for the most commonly used commands and prints them out in order with the count next to it.

history | cut -b8- | sort | uniq -c | sort -n | tac | head -n 10

Screen Shot 2014-04-25 at 1.40.33 PM

Leave a Reply

Your email address will not be published. Required fields are marked *