Skip to content

Instantly share code, notes, and snippets.

@marek-saji
Last active January 26, 2018 08:04
Show Gist options
  • Save marek-saji/c9767af7c8f657e0a2e2 to your computer and use it in GitHub Desktop.
Save marek-saji/c9767af7c8f657e0a2e2 to your computer and use it in GitHub Desktop.
awk '{ if ($1 ~ /=/) { print $2 } else { print $1 } }' ~/.bash_history | sort | uniq -c | sort -nr | head -n25
4239 git
447 vim
343 ls
219 cd
186 npm
169 sudo
114 doctrine-module
97 less
93 gulp
81 php
81 echo
79 l
71 ssh
69 man
63 rm
63 cat
54 find
52 curl
46 mv
45 gem
41 dff
40 pss
39 phpsh
36 trash
34 xdg-open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment