Pages

Sunday, August 31, 2008

How to post your top 10 used terminal commands.

You need to use terminal on Linux often. Recently one Ubuntuforum member posted this code to know the top 10 terminal command used by you.
history | sed -e 's/  / /g' | cut -d " " -f3 | sort | uniq -c | sort -n | tail | sort -nr

You can copy the code and paste in the terminal and know the results.
Post a Comment