How to invoke alerts from the OS X Terminal
When you run a script or command in the OS X terminal, it can be useful to have some indication for when it is completed, especially if the script is a lengthy process you might not wish to monitor at all times. Unfortunately when a script or command finishes running, the Terminal will drop you to the command line again, without any notice to you. However, if needed, you can set up the system to run commands so it does offer some notification.
System alerts The first option is to have the terminal invoke the system alert after the command … Read more