On a side note:
I hate it that the password-change command is minimally abbreviated to “passwd”.
Come on, making it much more complicated to remember and saving just two freakin letters??“umount” is worse
But the only command that I have to look up every damn time, although it has no abbreviation at all, is useradd.
Oh no, wait, I mean adduser!
… No, wait again… aah…Next update changes it to usadder as a compromise. Supposedly, it’s short for “user adder” but we all know it’s to make “[you] sadder”.
All the worse that Debian has both useradd and adduser. I never remember which is the one I want. And in Redhat-derivatives it’s something even more confusing.
The only thing I ever want to do is add a user to a group, is that too much to ask?
adduser
is an interactive wrapper foruseradd
. It can, for example, prompt the user to set a password rather than executepasswd
separately. Very useful if you just want to manage a user without reading throughuseradd
’s command line options, then runningusermod
because you forgot to set something.It doesn’t excuse the bad naming, I’d rather have something like
useradd --interactive
, but it’s worth remembering.You’d want
usermod
for that, no? If the user already exists and you’re just modifying their groups?
Ah, damn it! I’ll look it up next time. *sudo vim /etc/passwd*
Surely
visudo
, I hope
First time I have to use it, the spelling really confused me. Wrote unmount and didn’t understand why it didn’t work.
I guess this also must be an additional layer of hellfire for dyslexics…
deleted by creator
Now this looks like an interesting read. Thanks!
Kinda, but it’s pretty much all horrendously outdated bitching about superficial flaws in tools from 40 years ago.
I SAID, pass the wood
🤷 that’s why we have ls, rm, mv and hell, even w.
To confuse things even more there’s a utility called pwgen and I can never remember which two letters to type before hitting autocomplete.
mv = move, thus:
- rm = rome
- ls = lose
- cd = code
- w = woe
That is so cool.
So
- tr = tore
- tty = totey
- rsync = rosynce
- ps = pose
- pr = pore
- mpd = moped
I could do this all day.
making it much more complicated to remember
Do you not tab-complete your commands? I mean, my terminal usage for anything beyond very short commands consists of <first few letters of command> <TAB>.
Do you not tab-complete your commands?
Sure I do (although nowadays Strg-r does most of the heavy lifting for me), but as a decent touch-typist I am often faster directly typing short commands, like passwor… damn, I mean: passwd ;-)
Strg-r does most of the heavy lifting for me
If you haven’t, give fzf a try. Is like Ctrl+r in asteroids
My kryptonite is
du
which reports disk usage, anddf
which reports disk file size, or no, wait,du
is file size anddf
is disk usage.Most of the time I can only remember whichever one I don’t need at the moment and futilely hope that its man page will mention the other (which it doesn’t).
I just try them both every time
Just make an alias with a more convenient name.
alias ‘where_the_fuck_am_i’=“pwd”
alias who_the_fuck_am_i='whoami'
alias what_the_hell_is_going_on='btop'
alias who_the_fuck_is_that=finger
Unfortunately all the 2, 3 and 4 letter combinations are used as an alias for when i mistype “ls”
I usually abbreviate these “in German” in my head. Esp. handy if there’s a freaking double-U in it, which is just one syllable in German. Exception: /etc = Etsy
I’m still not over the fact that /etc isn’t for et cetera
EDIT: turns out that it is, and that there’s a lot of dumbasses on the internet “teaching”
You might be right.
I am German and never had a problem with pwd… The “double-you” certainly breaks some easy phonetic connections you would otherwise just make…
I always called it Present Working Directory but apparently it’s Print
Same, mind blown
I pronounce it pwood.
Pwud here
pizza with dick is how i reamber it
I use muscle memory.
I use it both for password and
pwd
interchangeablySir this is Wendy’s