Best of bash history

| | [C]olor

Here, my results for an old hacker challenge:

HISTTIMEFORMAT='' history 1000 | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
130 vi
126 rails
75 cd
66 exit
53 fe
49 note
47 ga
46 gs
31 cp
30 echo

exit is key-binded to M-e to exit the terminal

note opens a file to take notes

gs and ga are git bash aliases

fe is an alias for fzf + the-silver-searcher