Last Updated: December 26, 2018
·
2.072K
· andersoncardoso

Find which terminal commands you use more

just enter the command below:

history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head

3 Responses
Add your response

oh, my is 'ls'

over 1 year ago ·

Cool one! :D Git (large gap here) > cd > ls > vim. Funny to know. :-)

An array in Awk... And ending this in head. I like this. Marked.

PS. Below, not bellow (the latter has a different meaning). ;-)

over 1 year ago ·

ssh, followed by an ssh alias, scp, ls, and ping.

over 1 year ago ·