alias top10="history | awk '{cmd[\$2]++} END {for(elem in cmd) {print cmd[elem] \" \" elem}}' | sort -n -r | head -10"

This one worked! And thank you.

Reply to this note

Please Login to reply.

Discussion

No replies yet.