this post was submitted on 22 Aug 2026
14 points (88.9% liked)
Linux
67168 readers
970 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 7 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I thought this was how unix always has been? Sbin is for root binaries. It doesn't make sense to include a bunch of commands you don't have permission to execute in the path. I remember this being the case back in the 90s and didn't realize it was no longer the norm.
Not sure about the history of it, but it's different to every other distro I've used! Admittedly I've not tried loads and I've not been using Linux for that long, but to me it makes far more sense to tell me I don't have permission to use a command/program than to pretend it isn't installed
I think it's fair to want a more helpful error message, but that's not necessarily the purpose for path. There is a real cost to every entry in your $PATH. Not as much as in the world of spinning rust, but some.
There are some completion modules for shells that will suggest misspelled or even installable packages if it can't find the command. Those are arguably better options.
As for traditional systems, I remember a time where running arbitrary commands, even with an --help argument could be dangerous and we had to set least try 'man command' first.