Re:Ask HN: What are the best maintained how-to sites for Linux?
by allarm on Friday April 30, 2021 @09:55PM
(#27002157)
MacOS has zsh as a default shell since 2019.
Re:Ask HN: What are the best maintained how-to sites for Linux?
by ryapric on Saturday May 01, 2021 @12:44AM
(#27003196)
Having `zsh` as a default shell, and having two different versions of `bash` are very different things. That's a bit like saying "macOS ships with IPython as the default Python interactive interpreter" when someone says macOS ships with Python 2.7 when 3.x is available elsewhere.
Re:Ask HN: What are the best maintained how-to sites for Linux?
by allarm on Tuesday May 04, 2021 @04:51AM
(#27035384)
You are missing the point. I am saying that macos ships with zsh nowadays, having bash 4 installed for legacy compatibility.
Re:Ask HN: What are the best maintained how-to sites for Linux?
by Kaze404 on Friday April 30, 2021 @06:07PM
(#27000037)
Are there any community efforts on solving those issues?
Re:Ask HN: What are the best maintained how-to sites for Linux?
by dharmab on Friday April 30, 2021 @06:19PM
(#27000191)
You can download alternative GNU coreutils from Homebrew, but they will need to install under different binary names.
You can download Bash v5 from Homebrew.
Re:Ask HN: What are the best maintained how-to sites for Linux?
by davidcollantes on Friday April 30, 2021 @06:09PM
(#27000060)
In my opinion, Brew solve the first two.
- macOS uses BSD-style coreutils while most Linuxes use GNU coreutils. They have different args, output and behavior in many common cases.
- macOS ships with Bash v4. Bash v5 is a common default package on modern Linuxes.
- While the basic user permissions are the same, the OS security model is entirely different. There's no direct equivalent to namespaces in macOS and no direct equivalent to SIP in Linux.