Follow

It's that time of year again: Post your top 10 most used commands!

Run this to get them:

history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10

@kirch My ~/.bash_history is a bit fake because I have HISTCONTROL=erasedups:ignoredups

but regardless, the following seems representative:

1 39399 33.2279% hg
2 17140 14.4554% ls
3 12111 10.214% cd
4 4686 3.95203% ssh
5 3937 3.32035% emacs
6 3882 3.27396% ..
7 2544 2.14553% rm
8 2114 1.78288% sudo
9 2035 1.71626% manage.py
10 1262 1.06433% mv

@kirch

log
wat
qim
noice
brt
find . -print0 -name *.jpg I xargs -0 -i {}
spoo
nsdressdown
ls
cat

@tastytea @kirch

 1  1517  15.1352%     vim
2 1084 10.8151% git
3 366 3.6516% gbD
4 352 3.51192% gcam
5 313 3.12282% cd
6 304 3.03302% gchb
7 303 3.02305% gch
8 292 2.9133% rm
9 265 2.64392% ls
10 221 2.20493% convert

it's my work computer so tons of giting and viming. convert is often used too because i create a ton of custom emojis for the work slack

@kirch
5318 22.531% sudo
1532 6.4907% cd
1081 4.57993% g
1045 4.4274% l
973 4.12236% cat
955 4.0461% vim
700 2.96572% rm
550 2.33021% curl
526 2.22853% dig
490 2.07601% echo

@lucidiot @kirch lol i guess so... that's my history on tilde.team, so it's just me fixing(breaking) stuff

@kirch

 1  827  7.98571%     eix
 2  606  5.85168%     please
 3  591  5.70684%     rg
 4  559  5.39784%     less
 5  510  4.92468%     ls
 6  419  4.04596%     rm
 7  382  3.68868%     e
 8  345  3.3314%      man
 9  278  2.68443%     cd
10  265  2.5589%      curl

(please is an alias for sudo, e is emacsclient.)

@kirch I'm surprised nobody else has git as high as I have hg.

Honestly, you know how most people just do ls or some variant all the time to see where they are? I keep doing `hg wip` to see what my WIPs are all the time.

@tastytea @kirch Yeah, but since the hg CLI is actually good, I use it a lot more.

@JordiGH @tastytea I have no idea how any git gui works, everything I want it to do outside of commits is a mystery....

I'm guessing reliance on the command depends on how much your workflow relies on it - I'm apparently the lone FOSS guy on this team.

Sign in to participate in the conversation
tilde.zone

masto instance for the tildeverse