3 ms·
Funny, I'm doing almost exactly the opposite in MacOS currently. I'm mostly a windows admin and I love powershell for administering windows PC's. I've got enoug
by DrThunder 4y ago
Funny, I'm doing almost exactly the opposite in MacOS currently. I'm mostly a windows admin and I love powershell for administering windows PC's. I've got enough Macs to take care of now that I just got an M2 MacBook.
I'm attempting use the MacBook as my everyday driver. Unfortunately, posh just isn't all that useful on the Mac... I can't remote into windows machines or run any AD utilities so I'm stuck using a windows VM or remoting into another windows machine to run my stuff ha ha.
- bheadmaster 4y agoIf you have time, I'd deeply recommend learning Bash. It's a native shell on any *nix system, including MacOS, so it's much more ergonomic to work with, once you get into it. This is a book that gives a gentle, yet thorough introduction to the topic: https://tldp.org/LDP/Bash-Beginners-Guide/Bash-Beginners-Guide.pdf https://tldp.org/LDP/Bash-Beginners-Guide/Bash-Beginners-Gui... Of course, every tool has its context and tradeoffs. I've learned PowerShell after working with Windows administration, and it's good. Bash has a lot of shortcomings on Windows (CRLF, 0777 permissions, apt not working on my machine for some reason, etc.), so I use PowerShell. But on MacOS, I'd definitely recommend a native *nix shell.
- DrThunder 4y agoYeah I know a bit of bash. I've administered enough nix machines that I've had to use it. I haven't written in big scripts in it though, usually just a few lines for things.