Earlier quoted context omitted.
I moved on from Debian some 9-10 years ago and I haven't regretted it once. Many sysadmin acquaintances and former colleagues of mine complained that upgrading Debian is often like rolling a dice (yes, even the stable and thus fairly old variant). An innocent "apt-get upgrade" moves configuration files and/or expectations where they are, or, what's even worse, changes the config files and silently moves the previous…
>or, what's even worse, changes the config files and silently moves the previous ones to another file. I run Debian on my servers because I like not having to wrestle with Yast2 or deal with the constant churn for churn's sake of certain RPM-based distros. The above quote hasn't really been a thing since at least Debian 8, and possibly 7. Certainly when it came time to upgrade to 11, if package configs were being ove…
Debian's Which Hunt
251–257 of 257 posts
Re: Debian's Which Hunt
#252Earlier quoted context omitted.
I didn't know about the "help" command in bash. I've always gone to "man bash", and then scrolled up and down for an hour or so. Or just cranked-up a search engine. So thanks for that.
Apparently, there's an "info" command, as well
Not to mention that most distributions completely ignore it and don't populate it with a program's info documentation -- even when such exists.
Re: Debian's Which Hunt
#253> * The POSIX-blessed way of finding an executable program is command -v, which is consequently built into most shells. Given the standard alternative, Adams said, "surely no one competent would choose to have a package depend on `which` when a standard POSIX utility can do a better job".* This feels a little tone-deaf to me. I've been using the *nix command-line and writing (and reading) shell scripts for 20+ years,…
The output and return result differ significantly between BSD, GNU and OSX, so you can't just run $(which python) and get a straightforward response back.
Granted, I didn't know about `command -v` so I'm not sure if it works better in practice.
Re: Debian's Which Hunt
#254- ‘command -v’, also will not display binary if its file permission is too restrictive.
- ‘whereis -b’ works just fine as long as /usr/sbin has world RX file mode or other lesser matching filemods.
Still stuck on ‘whereis’
Re: Debian's Which Hunt
#255Earlier quoted context omitted.
Also, POSIX is basically irrelevant now. There are only two Unixen that anyone uses: RMS/Linux and whatever outdated garbage userspace Apple is shipping with macOS.
> whatever outdated garbage userspace Apple is shipping with macOS Is that a criticism of the FreeBSD userspace? Because that's where much of Apple's UNIX userspace is derived from, and they're regularly synced with upstream.
Re: Debian's Which Hunt
#256Earlier quoted context omitted.
Apparently, there's an "info" command, as well
Though info isn't POSIX compliant. Not to mention that most distributions completely ignore it and don't populate it with a program's info documentation -- even when such exists.
And, being GNU projects, Bash and `info` generally come hand-in-hand.
Re: Debian's Which Hunt
#257Earlier quoted context omitted.
> whatever outdated garbage userspace Apple is shipping with macOS Is that a criticism of the FreeBSD userspace? Because that's where much of Apple's UNIX userspace is derived from, and they're regularly synced with upstream.
How much of macOS is actually still upstream BSD. I was under the impression they were slowly ripping it all out and replacing it (launchd, different logging subsystem, different file paths/directories)