4 ms·
Notable examples: - macOS uses BSD-style coreutils while most Linuxes use GNU coreutils. They have different args, output and behavior in many common cases. -
by dharmab 6y ago
Notable examples:
- 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.
- Kaze404 6y agoAre there any community efforts on solving those issues?
- davidcollantes 6y agoIn my opinion, Brew solve the first two.
- dharmab 6y agoYou can download alternative GNU coreutils from Homebrew, but they will need to install under different binary names. You can download Bash v5 from Homebrew.
- allarm 6y agoMacOS has zsh as a default shell since 2019.
- ryapric 6y agoHaving `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.
- allarm 6y agoYou are missing the point. I am saying that macos ships with zsh nowadays, having bash 4 installed for legacy compatibility.