OSX kill programs via terminal
- get the process id of the application
1 ps -A | grep [name of program to close]
- kill the application
1 kill -9 [process id]
- check process to ensure its gone
1 rerun: ps -A | grep [program]
Source: http://blog.houen.net/kill-program-mac-os-x-terminal/