Powered by Blogger.

Thursday, January 28, 2010

Most recently used commands

Execute the following instruction in the console:
history|awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c|sort -rn|head -10

The history command shows a list of all recently executed commands. You can use the arrow keys to navigate the next and previous commands.

0 comments

Post a Comment