DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
See Your Most Used Shell Commands
Found <a href="http://lifehacker.com/software/how-to/turbocharge-your-terminal-274317.php">here.</a>
history | awk '{print $2}' | awk 'BEGIN {FS="|"}{print $1}' | sort | uniq -c | sort -n | tail | sort -nr






Comments
Snippets Manager replied on Wed, 2007/07/04 - 10:08pm
sort -nr | headinstead ofsort -n | tail | sort -nr?