3 ms·
Your criticism is valid, but its possible to get compatibility between macOS (or another BSD) and Linux. GNU utilities are already mentioned but there's also, f
by Fnoord 6y ago
Your criticism is valid, but its possible to get compatibility between macOS (or another BSD) and Linux. GNU utilities are already mentioned but there's also, for example,
> What about `lsblk` or `ip`?
For a (partly compatible) equivalent to ip I can recommend iproute2mac [1]. You can also use the old utilities from BSD (ifconfig, route, etc) or the GUI.
For lsblk I found no drop-in replacement, just equivalents [2]
On top of that, Nix works on Linux and macOS.
[1] https://github.com/brona/iproute2mac https://github.com/brona/iproute2mac
[2] https://apple.stackexchange.com/questions/107953/list-all-devices-connected-lsblk-for-mac-os-x https://apple.stackexchange.com/questions/107953/list-all-de...
[3] https://nixos.org https://nixos.org