Follow

What are your top 10 used commands?

`history | awk '{print $2}' | sort | uniq -c | sort -nr | head -n 10`

Mine:

491 git
366 fg
322 cargo
206 tig
172 ls
153 cd
107 vim
47 pio
37 cat
36 ssh

Whooop, winner is NOT `ls`. I'm a professional now, am I?

btw: pio is only there because I played with arduino stuff recently.

@musicmatze

764 vi
426 cd
419 rm
388 mv
319 dolm
297 ssh
294 echo
290 scp
283 cp
266 cat

@musicmatze Well.
444 sudo
54 youtube-dl
44 ./pulseaudiorestart.sh
42 ls
38 adb
37 cd
29 ping
21 nano
19 pulseaudio
17 ./up.sh

@musicmatze That's no good for pulseaudio. But the missing audio device only happens at home, all other Debian machines are fine.

@musicmatze :troll:

3121 c
2238 fg
1589 make
1310 l
762 nvim
567 aerc
398 git commit -p
386 cd repos
376 cd repos/**** # secret project
327 make check

Update: last version was incomplete because zsh's history command doesn't give all history

@musicmatze

1520 ls
771 cd
724 ssh
703 exit
497 vim
390 sudo
341 su
323 bluetoothctl
240 mount
236 ssh-add

@musicmatze 6366 git
5634 ls
4426 cd
3912 sudo
2198 ssh
2015 pikaur
1906 vim
814 ping
774 rm
774 python

@musicmatze My top ten commands:

1690 git
918 mpv
627 sudo
503 cd
396 rm
385 ls
310 mv
301 less
257 man
186 cat

@musicmatze Now make sure you pay the developers some respect by using gnu-pricing and their donate-per-use-model 😉 (or directly donate to your external tools)

github.com/diafygi/gnu-pricing

@musicmatze
173 vi
115 cd
99 ssh
98 ls
76 git
65 cat
52 sudo
43 ansible-playbook
22 grep
17 mkdir

things have gotten very unspectacular since I've stopped using Linux for work...

@musicmatze

22366 git
4162 ls
2771 cd
2654 vim
1291 rg
1231 make
958 ssh
794 rm
709 man
516 find

🙂

@musicmatze 366 git
245 cargo
62 cd
61 code
40 go
31 doupdate # alias for sudo apt update && sudo apt upgrade
26 ls
25 clear
19 sudo
13 echo # I need to have *someone* that talks to me...😅

@musicmatze

446 g
61 cd
55 fg
51 vim
37 swaymsg
30 ssh
28 man
26 ls
22 tmux
20 kill

Seems like the "g" alias for "git" is really worth it. I've limited my history to 1000 entries so it's a bit crazy that apparently almost 50% of my commands are Git commands. But I do certainly love Git :D

swaymsg, tmux, and kill are a bit funny (that's due to a Sway "bug" that I've only recently figured out / managed to avoid - at least so far).
vim is Neovim on my laptop.

@musicmatze

213 nix-shell
131 sudo
130 exa
120 git
55 docker
52 z
49 cargo
45 man
44 nix
37 $EDITOR

"Show me your *command history* and I'll tell you who you are"

Fish has contextual history so it's not showing what I'm doing in my nix shells

$EDITOR resolves to `nvim` currently, but don't worry I'm not spelling it out entirely: I have fish abbrevs like any sane person (for `nix-shell` as well)

`exa` is the new `ls`

`z` is the new `cd`

@musicmatze

471 git
454 cd
346 sudo
215 ls
178 snap
91 mkdir
73 rm
72 cargo
58 idris2
55 cat

@musicmatze Not really fair given I don't persist history across reboots, but:

114 git
29 cd
19 ssh
12 ls
9 scp
8 nix-shell
7 ff (custom emacsclient alias)
6 mtr
6 mv
5 sudo

@musicmatze Well, I don't _not_ persist history in particular, but rather my entire home except a few select directories.

Helps me keep unwanted state out of my systems (things clutter otherwise)...

@musicmatze
408 cd
57 clear
7 cmake
6 make
4 su
4 cmake-gui
2 ./start.sh
2 jupyter
1 which
1 ./ts3client_runscript.sh

I guess that says a lot about me :)
I suspect that the high number of cd is because I usually use dolphin to navigate the file system, and it moves the integrated bash shell along whenever I change directory.

Also, this is my nice Manjaro laptop which I rarely use for non-GUI stuff

@musicmatze
822 sudo
298 exa
171 rm
148 cd
101 exec
87 nmcli
72 bat
67 alsamixer
56 man
55 nix

@musicmatze Although I believe per-directory-history messes this up a bit, I was certain that nvim would be on this list, but I mostly use it within other directories rather than home. Also, most of the sudo uses are nix commands which require running as root, so nix should, in fact, be first place, realistically.

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!