alwaysInBeta Stable software is for the weak

Tallying BASH history date: 2014-05-15 20:50:54+00:00 categories: - Linux

I was curious which commands I use the most, so (with some web searching) I put together this:

` $ history | awk '{ print $2 }' | sort | uniq -c | sort -n -r 64 cd 61 ls 38 sudo 25 nc 22 cat 20 yaourt 16 vim [ etc. ] ”`

One thing I noticed is that I manually type the most common commands less than expected, because I've moved them to launchers that sit on a panel. So htop, yaourt, and others are much more used than this would indicate, because they don't get executed from a standalone terminal. I also tend to clean out duplicates every now and again from my .bash_history, so this listing on my machine is skewed towards commands I didn't cull yet. But it's an interesting exercise.

(For the curious: yaourt is a package manager [wrapper], and nc is netcat)