Recently I came across a thread on reddit which asked users the most used command in their shell history.
My results:
1 419 13.0489% ...
For further actions, you may consider blocking this person and/or reporting abuse
Outside the usual suspects, pacman is the Arch Linux package manager and mocha is a JavaScript test framework. I'm actually a little surprised the latter made the top 10.
for a moment I thought you had a version of Pacman installed in the terminal
I mean, it exists, but I was never any good at Pacman :D
ahhahaha me neither.
I'm more of a Space Invaders person.
Flutter, am I right?
g
- git,s
- sublimeAre you using self-defined aliases for git or the ones defined by a bash/zsh framework?
I've manually added the following lines in my
.bashrc
file:I honestly didn't expect qemu to be there lol
How is pipenv working out for you? Is it comparable to yarn or cargo in your experience?
I use pyenv (to have multiple Python versions installed) and pipenv a lot.
I don't know about cargo but pipenv is not that different from yarn. It has a file with the list of dependencies and a lock file. It tends to consume less resources than yarn because Python dependencies trees are usually much smaller than those of JS libraries.
1 146 14.6% vi
2 137 13.7% ls
3 96 9.6% cd
4 64 6.4% eog
5 52 5.2% git
6 44 4.4% ssh
7 38 3.8% cat
8 32 3.2% rm
9 26 2.6% su
10 26 2.6% make
I've been doing some facial recognition scripting recently (hello eog), and apparently I like other computers (ssh), nuking stuff (rm) and root :)
quite glad to see make get in at 10!
No surprise here. git, cd, ls, vim, build, search
You might want to look into autojump or autojump-rs to quickly jump to your workspace directories.
Also, ripgrep is a competent (not drop-in though) alternative to ag/grep.
Thanks. I've found that autojump and the like are too non-determistic to be reliable.
ripgrep is missing two very critical features: -G (--file-search-regex) and the ability to grep gzip'd files. The ripgrep vim plugin is also sub-par to ag's.
ripgrep is certainly faster, but they're both so fast their difference is often in ms.
Surprised that
brew
,pg_upgrade
, andpg_restore
are there. Wonder if it take your most recent commands from the previous week.Probably depends on how your shell history is set up. Things like whether concurrent sessions are set up to aggregate history, whether session's shell-history is configured to save to disk at all, how large you've set your
HISTSIZE
, etc. will all play in.Where
gstt
is my alias forgit status
sudo won this
if the terminal is your IDE:
I might be a software engineer by title, but really a sysadmin by necessity.
I didn't expect to see
exit
andclear
so much but I suppose it makes sense with all thetmux
panes being created and destroyed and my habit of clearing the screen when switching between tasks.Ctrl+D and Ctrl+L?
I'm more of a sysadmin guy as you might have guessed by
git
being only on 7 :Daka a bunch of git shortcuts, the infamouse
npm
fornpm start
on all my projects, yet more git stuffnumber 11 is nvim with 51 :D
On my main VM lots of DNS queries, talking to other machines and inline loops; and oh, some heavy ansible testing made its way to the top 10
Depending on your distribution, the "only X number of lines of history are printed" is the default behavior. For
bash
andksh
, subbingfc -l 1
forhistory
usually suffices.Git also wins for me. :) php would be second when combining php and sf.
I mainly work via ssh, so my total commands differ there.