On Linux, you’re absolutely right.
I’m an old-school Unix guy, and when I’m tossing off examples like this, I’ll use what I know are methods that will work on most any flavor of Unix, going back years and years...
In a couple of years, I’ll be suitably aged to wave my cane at kids and yell at them to “get off my network!”
Yeah, modern versions are a bit simpler. I can manage my Fedora system without ever touching the command line, because the package manager handles all of that for me; I just need to provide the correct password to complete any install or update.