A few years ago I wrote a simple script to analyze my shell history in order to examine my most frequently run shell commands. Being in dire need of a new blog post and suffering from a pretty heavy bout of writer’s block I thought it would be interesting to rerun the analysis and see how it compared to results from over 3 years ago.

It’s tough to say whether my usage has changed significantly. My adoption of zsh with the oh-my-zsh plugin have made my usage a bit more efficient - especially when using git. The other obvious change is that I’m running python code half as much as I used to and have also reduced my usage of text editors. I used to use fabric a ton to automate some deploys but have moved completely off of that. What has remained consistent is my blogging - my little alias (cdblog) to move to my blog directory and jekyll have stayed roughly the same as well as some other administrative commands.

Command 2014 Count 2017 Count 2014 Pct 2017 Pct
gst 0 795 0.0% 9.6%
cd 49 608 5.1% 7.3%
git 347 581 36.0% 7.0%
gl 0 525 0.0% 6.3%
pwd 12 438 1.2% 5.3%
gd 0 421 0.0% 5.1%
ls 103 415 10.7% 5.0%
gp 0 370 0.0% 4.4%
python 89 354 9.2% 4.3%
aws 0 325 0.0% 3.9%
gbda 0 304 0.0% 3.7%
code 0 297 0.0% 3.6%
connectec2 11 251 1.1% 3.0%
npm 0 241 0.0% 2.9%
curl 0 139 0.0% 1.7%
jekyll 12 112 1.2% 1.3%
emacs 22 101 2.3% 1.2%
grep 4 87 0.4% 1.0%
less 0 85 0.0% 1.0%
find 3 80 0.3% 1.0%
gco 0 75 0.0% 0.9%
cat 28 74 2.9% 0.9%
pip 14 68 1.5% 0.8%
docker-compose 0 65 0.0% 0.8%
ssh 28 62 2.9% 0.7%
cdblog 14 62 1.5% 0.7%
rm 15 61 1.6% 0.7%
sudo 9 61 0.9% 0.7%
gcm 0 59 0.0% 0.7%
workon 7 54 0.7% 0.6%
rake 15 52 1.6% 0.6%
brew 5 49 0.5% 0.6%
mv 4 49 0.4% 0.6%
to_temp 0 49 0.0% 0.6%
go 0 47 0.0% 0.6%
gradle 0 46 0.0% 0.6%
from_temp 0 46 0.0% 0.6%
open 3 42 0.3% 0.5%
hub 0 42 0.0% 0.5%
mediumify 0 41 0.0% 0.5%
grunt 0 38 0.0% 0.5%
cp 2 37 0.2% 0.4%
history 5 35 0.5% 0.4%
mkdir 2 35 0.2% 0.4%
gb 0 32 0.0% 0.4%
pbpaste 0 26 0.0% 0.3%
node 0 25 0.0% 0.3%
bower 0 24 0.0% 0.3%
g_pass 0 22 0.0% 0.3%
du 0 18 0.0% 0.2%
connect_ec2 0 17 0.0% 0.2%
diff 0 17 0.0% 0.2%
ping 23 16 2.4% 0.2%
mkvirtualenv 3 16 0.3% 0.2%
alias 0 16 0.0% 0.2%
echo 2 15 0.2% 0.2%
zip 0 15 0.0% 0.2%
mail 0 14 0.0% 0.2%
scp 0 13 0.0% 0.2%
n 0 13 0.0% 0.2%
man 0 12 0.0% 0.1%
touch 0 11 0.0% 0.1%
which 0 11 0.0% 0.1%
gt 0 10 0.0% 0.1%
\n 0 10 0.0% 0.1%
g 0 10 0.0% 0.1%
GEN_PASSWORD 0 10 0.0% 0.1%
wc 7 9 0.7% 0.1%
webpack 0 8 0.0% 0.1%
ruby 0 8 0.0% 0.1%
join 0 7 0.0% 0.1%
gem 0 7 0.0% 0.1%
crontab 0 7 0.0% 0.1%
cut 0 7 0.0% 0.1%
xmllint 0 7 0.0% 0.1%
protoc 0 7 0.0% 0.1%
ps 0 7 0.0% 0.1%
ffmpeg 0 7 0.0% 0.1%
unzip 0 6 0.0% 0.1%
sendEmail 0 6 0.0% 0.1%
airflow 0 5 0.0% 0.1%
chmod 0 5 0.0% 0.1%
java 0 5 0.0% 0.1%
conn 0 5 0.0% 0.1%
phantomjs 6 4 0.6% 0.0%
export 0 4 0.0% 0.0%
traceroute 0 4 0.0% 0.0%
sdk 0 4 0.0% 0.0%
textutil 0 4 0.0% 0.0%
ggl 0 3 0.0% 0.0%
top 0 3 0.0% 0.0%
pd 0 3 0.0% 0.0%
sort 0 3 0.0% 0.0%
cdjsonifyme 0 3 0.0% 0.0%
./grailsw 0 3 0.0% 0.0%
tunnel_prod 0 3 0.0% 0.0%
wpd 0 3 0.0% 0.0%
php 0 3 0.0% 0.0%
jupyter 0 3 0.0% 0.0%
code. 0 3 0.0% 0.0%
fab 70 0 7.3% 0.0%
stash 15 0 1.6% 0.0%
head 5 0 0.5% 0.0%
c_do 5 0 0.5% 0.0%
sh 4 0 0.4% 0.0%
make 4 0 0.4% 0.0%
sass 3 0 0.3% 0.0%
redis-cli 3 0 0.3% 0.0%
celery 3 0 0.3% 0.0%
source 2 0 0.2% 0.0%
sed 2 0 0.2% 0.0%
redis-server 2 0 0.2% 0.0%
dig 2 0 0.2% 0.0%

Read more!