Q: Application Uses Command Line Behind the Scenes I use a gui application that can access the command line to run commands/scripts/etc. Is there a place where these commands are logged? They don't show up in .bash_history or .zsh_history and I need to debug the commands the application sends to the command line.

The first line works and creates an empty file. The second line does not work. Probably has to do with the quotes, however that's how this program decided to handle terminal commands. This is why it would be nice to find the actual command that was sent to the command line. MacOS has to log that somewhere right?
