In what has become an annual tradition I have a very simple shell script that generates a frequency of my most commonly run shell commands. This year saw a pretty big change from 2017. The most obvious difference is that I use “git” more frequently than in the past. This is a tough one to analyze by looking at the data since my usage of oh-my-zsh skews the data. It provides a variety of git aliases - for example gp for git push and gco for git checkout - that appear elsewhere in the results so my pure use of “git” is almost isolated to the cases where I do a commit.
The other big difference is my aggressive use of the AWS CLI. I have seen my role shift to less of a coder and more in support of DevOps so this is reasonable. I’ve also made an effort to minimize my use of the AWS Console in favor of having quick and handy commands that give me quicker access to the information I need.
This was also the year I finally embraced Docker. Before this year I had never used docker I’ve finally embraced docker. Before 2018 I had never used Docker and now use it on a semi-regular basis.
A few other interesting observations come from looking at the commands that only appeared in 2018. The first is “siege” which was a small load testing program I was messing around with earlier this year. The second was “rg” which while less powerful than grep does the simple searches much much faster.
This is an interesting exercise and I’d encourage others to start doing this as well. It really does give you a sense of how your terminal usage has changed and how it aligns with industry trends.
Command | 2018 Count | 2017 Count | 2014 Count | 2018 Pct | 2017 Pct | 2014 Pct |
---|---|---|---|---|---|---|
git | 1403 | 581 | 347 | 16.39% | 7.55% | 41.26% |
aws | 907 | 325 | 0 | 10.60% | 4.22% | 0.00% |
curl | 525 | 139 | 0 | 6.13% | 1.81% | 0.00% |
cd | 466 | 608 | 49 | 5.44% | 7.90% | 5.83% |
gco | 447 | 75 | 0 | 5.22% | 0.97% | 0.00% |
ls | 316 | 415 | 103 | 3.69% | 5.39% | 12.25% |
grep | 278 | 87 | 4 | 3.25% | 1.13% | 0.48% |
ssh | 247 | 62 | 28 | 2.89% | 0.81% | 3.33% |
python | 242 | 354 | 89 | 2.83% | 4.60% | 10.58% |
cat | 226 | 74 | 28 | 2.64% | 0.96% | 3.33% |
rm | 203 | 61 | 15 | 2.37% | 0.79% | 1.78% |
history | 165 | 35 | 5 | 1.93% | 0.45% | 0.59% |
less | 159 | 85 | 0 | 1.86% | 1.10% | 0.00% |
docker | 151 | 0 | 0 | 1.76% | 0.00% | 0.00% |
mv | 139 | 49 | 4 | 1.62% | 0.64% | 0.48% |
rake | 131 | 52 | 15 | 1.53% | 0.68% | 1.78% |
mediumify | 125 | 41 | 0 | 1.46% | 0.53% | 0.00% |
brew | 117 | 49 | 5 | 1.37% | 0.64% | 0.59% |
emacs | 116 | 101 | 22 | 1.36% | 1.31% | 2.62% |
sudo | 107 | 61 | 9 | 1.25% | 0.79% | 1.07% |
find | 102 | 80 | 3 | 1.19% | 1.04% | 0.36% |
pip | 93 | 68 | 14 | 1.09% | 0.88% | 1.66% |
mkdir | 85 | 35 | 2 | 0.99% | 0.45% | 0.24% |
docker-compose | 80 | 65 | 0 | 0.93% | 0.84% | 0.00% |
cp | 78 | 37 | 2 | 0.91% | 0.48% | 0.24% |
siege | 72 | 0 | 0 | 0.84% | 0.00% | 0.00% |
npm | 66 | 241 | 0 | 0.77% | 3.13% | 0.00% |
gd | 59 | 421 | 0 | 0.69% | 5.47% | 0.00% |
pbpaste | 54 | 26 | 0 | 0.63% | 0.34% | 0.00% |
gb | 53 | 32 | 0 | 0.62% | 0.42% | 0.00% |
rg | 46 | 0 | 0 | 0.54% | 0.00% | 0.00% |
ping | 46 | 16 | 23 | 0.54% | 0.21% | 2.73% |
open | 45 | 42 | 3 | 0.53% | 0.55% | 0.36% |
pwd | 41 | 438 | 12 | 0.48% | 5.69% | 1.43% |
export | 39 | 4 | 0 | 0.46% | 0.05% | 0.00% |
python3 | 38 | 0 | 0 | 0.44% | 0.00% | 0.00% |
gst | 36 | 795 | 0 | 0.42% | 10.32% | 0.00% |
mkvirtualenv | 33 | 16 | 3 | 0.39% | 0.21% | 0.36% |
alias | 32 | 16 | 0 | 0.37% | 0.21% | 0.00% |
mongo | 31 | 0 | 0 | 0.36% | 0.00% | 0.00% |
echo | 30 | 15 | 2 | 0.35% | 0.19% | 0.24% |
gl | 29 | 525 | 0 | 0.34% | 6.82% | 0.00% |
yarn | 28 | 0 | 0 | 0.33% | 0.00% | 0.00% |
wc | 27 | 9 | 7 | 0.32% | 0.12% | 0.83% |
touch | 27 | 11 | 0 | 0.32% | 0.14% | 0.00% |
jekyll | 27 | 112 | 12 | 0.32% | 1.45% | 1.43% |
./tf-wrapper | 25 | 0 | 0 | 0.29% | 0.00% | 0.00% |
gp | 24 | 370 | 0 | 0.28% | 4.81% | 0.00% |
code | 24 | 297 | 0 | 0.28% | 3.86% | 0.00% |
man | 23 | 12 | 0 | 0.27% | 0.16% | 0.00% |
join | 23 | 7 | 0 | 0.27% | 0.09% | 0.00% |
sh | 22 | 0 | 4 | 0.26% | 0.00% | 0.48% |
gbda | 21 | 304 | 0 | 0.25% | 3.95% | 0.00% |
ffmpeg | 20 | 7 | 0 | 0.23% | 0.09% | 0.00% |
workon | 19 | 54 | 7 | 0.22% | 0.70% | 0.83% |
go | 19 | 47 | 0 | 0.22% | 0.61% | 0.00% |
du | 19 | 18 | 0 | 0.22% | 0.23% | 0.00% |
wrk | 18 | 0 | 0 | 0.21% | 0.00% | 0.00% |
scp | 18 | 13 | 0 | 0.21% | 0.17% | 0.00% |
gradle | 18 | 46 | 0 | 0.21% | 0.60% | 0.00% |
diff | 18 | 17 | 0 | 0.21% | 0.22% | 0.00% |
ci | 18 | 0 | 0 | 0.21% | 0.00% | 0.00% |
ps | 17 | 7 | 0 | 0.20% | 0.09% | 0.00% |
php | 17 | 3 | 0 | 0.20% | 0.04% | 0.00% |
kubectl | 16 | 0 | 0 | 0.19% | 0.00% | 0.00% |
cut | 16 | 7 | 0 | 0.19% | 0.09% | 0.00% |
chmod | 16 | 5 | 0 | 0.19% | 0.06% | 0.00% |
ab | 16 | 0 | 0 | 0.19% | 0.00% | 0.00% |
./gradlew | 16 | 0 | 0 | 0.19% | 0.00% | 0.00% |
g_pass | 15 | 22 | 0 | 0.18% | 0.29% | 0.00% |
flask | 15 | 0 | 0 | 0.18% | 0.00% | 0.00% |
tar | 14 | 0 | 0 | 0.16% | 0.00% | 0.00% |
airflow | 14 | 5 | 0 | 0.16% | 0.06% | 0.00% |
nvm | 13 | 0 | 0 | 0.15% | 0.00% | 0.00% |
kill | 12 | 0 | 0 | 0.14% | 0.00% | 0.00% |
code-insiders | 12 | 0 | 0 | 0.14% | 0.00% | 0.00% |
which | 11 | 11 | 0 | 0.13% | 0.14% | 0.00% |
n | 11 | 13 | 0 | 0.13% | 0.17% | 0.00% |
yolk | 10 | 0 | 0 | 0.12% | 0.00% | 0.00% |
route | 10 | 0 | 0 | 0.12% | 0.00% | 0.00% |
netstat | 10 | 0 | 0 | 0.12% | 0.00% | 0.00% |
nslookup | 9 | 0 | 0 | 0.11% | 0.00% | 0.00% |
wordcloud_cli.py | 8 | 0 | 0 | 0.09% | 0.00% | 0.00% |
unzip | 8 | 6 | 0 | 0.09% | 0.08% | 0.00% |
8 | 14 | 0 | 0.09% | 0.18% | 0.00% | |
hub | 8 | 42 | 0 | 0.09% | 0.55% | 0.00% |
head | 8 | 0 | 5 | 0.09% | 0.00% | 0.59% |
datalab | 8 | 0 | 0 | 0.09% | 0.00% | 0.00% |
cdblog | 8 | 62 | 14 | 0.09% | 0.81% | 1.66% |
traceroute | 7 | 4 | 0 | 0.08% | 0.05% | 0.00% |
telnet | 7 | 0 | 0 | 0.08% | 0.00% | 0.00% |
split | 7 | 0 | 0 | 0.08% | 0.00% | 0.00% |
s3 | 7 | 0 | 0 | 0.08% | 0.00% | 0.00% |
gzip | 7 | 0 | 0 | 0.08% | 0.00% | 0.00% |
gcloud | 7 | 0 | 0 | 0.08% | 0.00% | 0.00% |
date | 7 | 0 | 0 | 0.08% | 0.00% | 0.00% |
zkCli | 6 | 0 | 0 | 0.07% | 0.00% | 0.00% |
source | 6 | 0 | 2 | 0.07% | 0.00% | 0.24% |
sendEmail | 6 | 6 | 0 | 0.07% | 0.08% | 0.00% |
node | 6 | 25 | 0 | 0.07% | 0.32% | 0.00% |
jupyter | 6 | 3 | 0 | 0.07% | 0.04% | 0.00% |
gunzip | 6 | 0 | 0 | 0.07% | 0.00% | 0.00% |
ansible-vault | 6 | 0 | 0 | 0.07% | 0.00% | 0.00% |
./ngrok | 6 | 0 | 0 | 0.07% | 0.00% | 0.00% |
terraform | 5 | 0 | 0 | 0.06% | 0.00% | 0.00% |
protoc | 5 | 7 | 0 | 0.06% | 0.09% | 0.00% |
mvn | 5 | 0 | 0 | 0.06% | 0.00% | 0.00% |
heptio-authenticator-aws | 5 | 0 | 0 | 0.06% | 0.00% | 0.00% |
ansible-playbook | 5 | 0 | 0 | 0.06% | 0.00% | 0.00% |
wget | 4 | 0 | 0 | 0.05% | 0.00% | 0.00% |
serverless | 4 | 0 | 0 | 0.05% | 0.00% | 0.00% |
sass | 4 | 0 | 3 | 0.05% | 0.00% | 0.36% |
ruby | 4 | 8 | 0 | 0.05% | 0.10% | 0.00% |