If you want to write to the macOS log from a script, you used to be able to use logger. Although it still works, here’s a more flexible alternative.
shell
Two basic rules: M1 Macs run Arm-native code when it’s available, but won’t mix ARM-native and Intel code in the same process. Here are the details.
How can you create and resolve Finder Aliases at the command line? And two further utilities you may find helpful for working with Aliases.
Do you know how to customise the zsh shell now standard in Catalina? Here’s an excellent book which covers it in detail – and curious choice in 10.15.
The new read-only system volume changes a lot of paths on which scripts and apps rely. Here’s some experience in fixing the problems that result.
How can third-party command tools access files under Mojave’s new privacy protection? Isn’t this going to be a nightmare?
Apple has shown a way ahead for full apps to access private data in Mojave, but has been curiously silent with respect to command tools. How will they cope?
Create a Finder alias from the command line, and resolve them to full paths – a new free command tool, with source.
Writing advanced dialog code and building a friendly front-end for a complicated command tool, in AppleScript.
How can I undo Terminal commands?