7 ms·
Windows has a MUCH superior cli these days because of WSL.
by ComradePhil 4y ago
Windows has a MUCH superior cli these days because of WSL.
- luc_ 4y agoThat's just like your opinion, man.
- speed_spread 4y agoBSD.ude
- cultofmetatron 4y agoits certainly superior to previous windows but its ultimately a hosted vm in windows. OSX is a native unix. Yes there are limitations such as needing a vm to run docker but the core system is posix and the filesystems are all laid out in in teh unix way. on of this damn C/D drive nonsense.
- digisign 4y agoI like named volumes to be honest. They just should be able to have more than one letter, like Netware and Amiga had.
- bostonsre 4y agoIt 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.
- uuyi 4y agoNo it has a decent CLI half baked in with a number of weird ass exceptions that punch you in the face regularly. Better to scrap it and run a proper Debian box inside a hyper-v VM I found. Or do what I did and drop kick the steaming Dell turd out of a window and buy a mac.
- ComradePhil 4y ago> it has a decent CLI half baked in with a number of weird ass exceptions that punch you in the face regularly. Tell me you haven't used WSL without telling me you haven't used WSL.
- uuyi 4y agoTry running background processes and services or routing reliably over a VPN with working DNS and you will see what I mean. Also there’s the whole hyper-v bridge switch mess which tends to break all the other hyper-v stuff once every 6 months including WSL. Unbinding IPv4 from your wifi interface is also bloody annoying because you can’t Google how to fix it. Again. So lose the infernal meme snark. I used this more than most people did. And no, works for me is not a suitable retort because we have 200 people with the same issues day in day out. It’s a fucking shit show.
- antfarm 4y agoHow is it superior? Honest question.
- cutler 4y agoPowershell is a verbose OOP monstrosity typical of the Microsoft Way.