3 ms·
If 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 yo
by bheadmaster 4y ago
If 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.