Generating a pop-up alert from OSX terminal

You can use the terminal on OSX to generate a pop-up alert. Simply enter:

osascript -e 'tell app "System Events" to display dialog "Hello World"'

Written on November 13, 2014