Follow

Hey command line peeps, what are your top 20 commands of note?

history | awk '{print $2}' | sort | uniq -c | sort -bnr | head -n 20

finger made my top 10!

@tomasino If i run that it's going to show that most of those were just executing bash scripts I have made over the years. irssi, htop mc, links, mocp, and ssh are probably in the top 10, along with killall and bmon.

@tomasino mine was on sdf. I’ll look at my own machines later

@tomasino
53 sudo
18 exit
8 snap
3 sensors
3 ps
2 su
2 ssh
2 sh
2 ll
All the ones with 1 are mainly me playing with stuff. You can see I've been playing with snap recently. Found my password in there. Must have typed it in there by accident. Yikes.

@tomasino
105 ls
62 emacs
61 cd
47 git
[bunch of scripts]
25 clear

I'm even more boring than I feared.

@tomasino 127 ls
68 cd
47 syncterm
39 nano
31 mv
24 [Personal script]
21 su
12 wc
10 mkdir
7 rm

@fuuko syncterm, that's awesome! nano, i'm judging you.

@tomasino
3486 sudo
991 cd
605 l
597 cat
496 g
486 vim
445 rm
361 less
326 echo
260 lxc

@ben love the aliases going there, but DAMN son... sudo much?

@tomasino that's my history on ~team ;)

it's still the top command on all my other boxes :x

@tomasino interestigly fellowsh showed up in mine!

@tomasino

138 ls
83 sudo
79 cd
62 ssh
62 finger
54 cat
53 find
53 exit
50 nano
36 rm
31 wget
28 echo
25 curl
24 comfy
17 lastlog
14 fellowsh
14 clear
14 /bin/ls
13 mv
12 chmod

@cat what's comfy and lastlog? Nice finger position too

@tomasino lastlog lists users and their last login times, i think i was hammering it while working on some finger stuff, comfy is an alias for "screen -dRRU" because I kept forgetting the switches ahaha

@tomasino can you tell this is the machine I test everything on before deploying it elsewhere?

135 ssh
117 ls
106 git
101 cd
81 npm
72 sudo
31 nano
26 less
20 yarn

#nano crew shamelessly checking in.

@tomasino
131 yum
46 systemctl
28 vim
27 sar
27 airmon-ng
25 sudo
18 collectl
15 iostat

{looks like I'm an admin...}

@tomasino at home:

454 youtube-dl
363 sudo
333 ll
180 less
174 pushd
156 vim
125 notmuch
102 man

at work:

642 brew
446 git
395 ll
390 ssh
384 host
377 less
359 ag
283 vim
270 sudo

@hexagon oh yes, that work one looks super familiar to me

@tomasino as expected, pushd rates very high, popd is nowhere on the list

constantly blowing my own stack

@tomasino
499 ssh
280 sudo
147 ls
123 cd
120 find
114 mc
92 ps
73 killall
70 ping
60 su
57 htop
53 whois
51 .
43 txt='beans
41 mount
40 history
38 for
37 cat
35 txt='foo
35 multisystem
immaculata 23-17:45 downloads>

depends where I am

@tomasino
81 mc
68 service
46 apt-get
43 ls
36 crontab
32 cd
23 letsencrypt
18 ssh
17 mcedit
16 history
15 whois
15 nginx
15 df
13 chown
12 echo
10 find
9 tmux
9 systemctl
9 pwd
9 ps
kalum 23-1746 ~>
I suppose other servers would give a different list. Depends what's on them.

@tomasino the weird txt= ones are at home. I set reminders to go to the kitchen where I'm boiling or simmering something like

immaculata 22-20:03 downloads> txt='beans on setting 6.5';m=20;for ((i=1; i<=$m; i++ )); do sleep 1m; echo -ne "\r $i/$m"; done; kdialog --msgbox "$txt";echo

@tomasino - inaccurate. Somewhere between multiple tmux sessions with half a dozen windows each my history is like Swiss cheese! I wonder how many of these lists @cat is on?

33 cd
27 sudo
26 vim
24 clear
21 rm
16 l
15 cat
14 rpod
12 chr
10 mv
8 mkdir
8 man
8 ll
7 weather
7 md2pdf
6 curl
5 m
5 ls
5 apt
4 stow

@tomasino Unfashionably late but:
110 cd
97 cp
84 rm
69 trc
67 vim
67 scp
53 sudo
45 git
39 ssh
28 ll
22 cat
21 ls
18 mv
18 man
15 curl
14 wget
14 mkdir
14 lynx
12 get-iplayer
11 sed

@tomasino
Nano
gst
ls
cd
exit
wx
sudo
news
curl
apt
temp
mv
rm
..alot of those are my silly little scripts..
What does the '{print $2}' do with awk?

@tomasino
105 cd
33 wget
31 ls
29 mplayer
20 apropos
15 whois
15 host
14 man
14 apt
13 sudo
12 mencoder
11 rm
8 youtube-dl
8 mv
8 cat
7 nano
7 apt-cache
6 locate
6 history

@twovoyagers oooh, heavy apropos usage. Very neat! What's mencoder?

@tomasino
apropos for searching for stuff I think might be installed. apt-cache for stuff that isn't.
mencoder is a CLI related to mplayer for manipulating video.
'man mencoder' informs us that the website for both is at mplayerhq.hu
;-)

@tomasino I am very sad that npm made the list :flan_sad:

1431 ls
923 more
755 cd
664 brew
381 git
294 sudo
294 ssh
216 ping
201 rm
173 grep
169 mv
138 npm
133 man
128 st
114 pass
94 wine
81 mkdir
80 dig
78 which
74 pip3
@tomasino Habit from 30 years of unix. Never got used to less, and more was good enough.
Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko