OSX kill programs via terminal

    1. get the process id of the application

1
ps -A | grep [name of program to close]
    1. kill the application

1
kill -9 [process id]
    1. check process to ensure its gone

1
rerun:  ps -A | grep [program]

Source: http://blog.houen.net/kill-program-mac-os-x-terminal/