4 ms·
It feels a lot more like a dual os system than just running a vm inside of windows. The integration between the two is pretty seamless and powerful. e.g. this i
by bostonsre 4y ago
It feels a lot more like a dual os system than just running a vm inside of windows. The integration between the two is pretty seamless and powerful. e.g. this is in my wsl .bashrc file, it writes to my windows clipboard by running the powershell.exe windows executeable:
function cb () {
powershell.exe -command "\$input | set-clipboard"
}
Mac is unix sure, but they have diverged from the popular main stream linux distributions and you still need to learn various gotchas and different ways of doing things. At least for me, our deployment environment is amazon linux 2 and I use amazon linux 2 for wsl. I am also an sre, so maybe that matters to me more than most and unix is good enough for most.
- johnklos 4y agoI think you have that backwards: it's Linux that has diverged from the Unix way of doing things. All the various gotchas and different ways are Linux-isms. After all, which came first, and which came later, then changed? macOS is more consistent with the BSDs than Linux is with older Linux or one distro is with another.
- ccouzens 4y agoCelebrating Unix certification feels dated to me. Once upon a time our production servers might have also been Unix. And developing from a Unix system was therefore desirable. But these days our production services are almost certainly running on Linux (and probably Docker). Mac/Unix will have incompatibilities with this. But you can get away with a non-Linux local environment because: * most server software doesn't use APIs that differ between environments * most OSes are well supported by Docker- which may work using a seamless Linux VM.
- bostonsre 4y agoOk sure, macOS has stood still and most main stream linux oses diverged from it. I don't think that makes it being unix any more preferable when stated that way.
- pram 4y agoYou can install GNU coreutils if that’s what you think “Linux” is
- blackoil 4y agoThis is useful info for trivia quiz but if no practical value. As the server is now all Linux, that is the right way.
- cutler 4y agoBSD Unix predates Linux.