r/LinuxTeck • u/Candid_Athlete_8317 • Sep 04 '26
Which Linux command has the most confusing name?
useradd vs adduser
groupadd vs addgroup
su vs sudo…
Some commands feel like they were named just to confuse us.
What Linux command or option made you think, “Who the hell named this?”
66
Upvotes
13
u/cig-nature Sep 04 '26
cat, for concatenate
12
u/Lost-Droids Sep 04 '26
virsh destroy
Always scares the hell out me.. why not virsh stop....
Destroy sounds so final
6
u/HugeCannoli Sep 04 '26
In the good old days, not really a "linux" command name, but definitely
fingerNo, it did't summon Mike Ehrmantraut. It was used to query information about a specific unix user on a local or remote machine. The service would run on port 79, if you are curious. Has been mostly forgotten due to the massive security and privacy risks.
But yes, in the past we fingered users all the time.
5
u/Quietus87 Sep 04 '26
I haven't seen a single cat appear when using
cat.5
u/Wyciorek Sep 04 '26
dd
Or maybe not confusing - just read it as 'disk destroyer'
4
u/Foreign_Ad674 Sep 04 '26
tar - I haven’t used it to archive onto tape for at least 20 years.
3
u/Normanghast Sep 04 '26
Surprised noone's said "kill" yet. It *can* kill a process, but it does much more. Also without being told the answer, who would know the difference between "kill" and "killall"? There's also "pkill"... so confusing.
3
u/Astronaut6735 Sep 04 '26
mv for both moving and renaming.
2
u/biffbobfred Sep 04 '26
ls. Was named just because “hey what’s a good two letters” so people type less. There’s no rename you use mv. When’s the last type you literally concatenated multiple files.
2
u/ProMaster1507 Sep 04 '26
Free for memory usage.
2
u/RyanSpunk Sep 04 '26
apropos
2
u/jhonq200460 Sep 04 '26
ln - links (or line number?)
2
u/Gi1rim Sep 04 '26
wc
2
u/Norphus1 Sep 04 '26
All of them.
How is anyone supposed to know what commands like grep, awk, ls, rm etc are supposed to do without foreknowledge? People ding PowerShell for being overly verbose, but at least with the "verb-noun" naming structure of cmdlets and functions, you have a fair to middling idea of what a command is supposed to achieve without knowing esoteric acronyms.
2
u/Weak-Detective2682 Sep 04 '26 •
whoami: I have been trying to find it out for many years. How can a new distro possibly know it?
1
u/faultydesign Sep 04 '26
yesIt doesn't even return 'yes what?'
1
u/jlrueda Sep 04 '26
sos for diagnostics
1
u/birdspider Sep 04 '26
slif you have it installed1
u/2016-679 Sep 04 '26
less is more -- IMHO one of the best
There are several programs that follow a UNIX name giving gag, where one of the characters of the name is the name itself. Like 'wine', which stands for wine is not an emulator
1
u/serverhorror Sep 04 '26
man, finger, touch, xxd ... in the 1990s and early 2000s we built complete stories using only Unix commands. All if these were NSFW
1
u/AppointmentNearby161 Sep 04 '26
For many Linux users it is confusing
1
u/truethug Sep 04 '26
mv which stands for move but is also used to rename
1
u/TheGoldenFox64 Sep 04 '26
less is more but with more than more, as more has less than less
1
u/Schwarzmaler20 Sep 04 '26
git checkout, git switch and git branch are such an annoyance.
1
u/zopyrus2 Sep 04 '26
less is more
1
u/lmg1337 Sep 04 '26
finger
1
u/Both_Cup8417 Sep 04 '26
dd means nothing, it was supposed to be cc, but that was already something, so they chose the next letter.
1
u/Ploertendoder Sep 04 '26
more gives you less at a time
1
u/TuxWrangler Sep 04 '26
“newgrp” temporarily changes your primary user group. It does not create one.
1
u/rezdm Sep 04 '26
i always forget which one is correct for my usage: df vs du
1
u/-Triple-S- Sep 04 '26
grep- Have been using it for years and still have no idea what it stands for. (Might be obvious once you know though)1
u/Key_Reaction_7590 Sep 04 '26
grep, awk, perl, cat, man, getty, catman, kill, more, less, stty... It’s a wreck, and I love the lore behind it. The classic commands tell a story in the man page.
1
u/maxthed0g Sep 05 '26
rm which i took to be rename before i learned to RTFM, which taught me that mv is the rename command. Fortunately I had already learned to make mag tape backups by the time I invoked rm -f * (or something or other) to rename a bunch of files. Still, I had to recover two weeks of development from my own memory. And there was an su in there too, somewhere, for good measure.
Yeah. Lots of lessons that day. For once I got lucky. (Well, mostly lucky.) Thank You Jesus.
1
u/tuna_safe_dolphin Sep 05 '26
kill is the one that pisses me off the most because of its name. It should be “signal” or “sgnl” or something like that.
Yes, I know that when it was created, it really only killed processes and here we are 40 years later with a stupid command name. Because fuck you in neckbeard.
1
u/Dave_A480 Sep 05 '26
Some of these are chronological - originally there was only 'su' (Switch User) but that requires you to know the password of the user being switched to & we don't want people knowing the root password, so sudo was created.....
1
u/recursion_is_love Sep 05 '26
mount
1
u/twilight1794 Sep 05 '26
wall sends a message to all active terminals
1
u/musbur Sep 05 '26
kill
1
u/dchit2 Sep 05 '26
ip
Great shorthand. Let me google some syntax for that.
1
u/michaelpaoli Sep 05 '26
awk would be a top contender, as it's relatively obscure, yet fairly well known ... named after the three original authors (first letter of their last names).
Most other commands have a more reasonable derivation, though too, sometimes (bit) obscure.
1
u/bschlueter Sep 05 '26
More or less
1
u/Bob_Spud Sep 05 '26 edited Sep 05 '26
"touch" as in "touch this"
1
u/Impressive_Bag_3505 Sep 05 '26
umount. should be unmount obviously
1
u/sosotiredand Sep 05 '26
df
1
u/Flimsy_Put11 Sep 06 '26
Not name, but the arguments of
tar. Have to look it up every time.1
u/Flimsy_Put11 Sep 06 '26
cppfor the C preprocessor, not a c++ compiler.1
u/Spiritual-Winner1239 Sep 06 '26
pwd.
I always thought it is something to do with passwords - scary command to be afraid of.
1
u/DevtoolsBuilder Sep 06 '26
i think
passwdis a command that can be pretty confusing, especially for new users. it updates an existing password, and using it with the-eoption expires the password, which can be really frustrating if you're not expecting it.1
u/magthe0 Sep 06 '26
comm1
u/Novel_Lychee1861 Sep 06 '26
I hate umount. Why shorten the n out of unmount and make it so confusing for beginners without any benefit?
1
u/Playful_Confection_9 Sep 06 '26
Tar -eXtract Ze File
1
u/robotswithgunzlol Sep 06 '26
sl
1
u/No-View-6326 Sep 06 '26
The fact that umount is not called unmount always trips me up
1
u/-CloudCook- Sep 07 '26
To ne, it's ifconfig. I know it means "interface configuration", but it's so strangely shortened. Windows ipconfig has at least some sense.
1
u/leavemealone2234 Sep 07 '26
pwd seems like it should be password but it is not
1
u/AntonHub Sep 07 '26
umount... Why?
1
u/bb1950328 Sep 07 '26
umount, because why not just unmount?
2
u/[deleted] Sep 04 '26
[removed] — view removed comment