@xAbhishek killall should work with non-X11 stuff. :/
$ killall Dock
∞ 1:39 AM Apr 21st 2009
Built by Prateek Rungta (@rungta), because Twitter makes it so easy to find that joke you cracked last year. Like, why would you want to embarrass yourself again, right?
Credits and more in the project notes.
Also, this site worst viewed in Internet Explorer.