Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A script to more easily kill apps by name' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A script to more easily kill apps by name
Authored by: geppo1982 on May 30, '06 11:19:33AM
I think killall -3 processname is the best way to kill a process by name.

[ Reply to This | # ]
A script to more easily kill apps by name
Authored by: sjk on May 30, '06 02:31:56PM
I think killall -3 processname is the best way to kill a process by name.
That sends a SIGQUIT signal to all processes with processname.
SIGTERM (the default for kill and killall commands on OS X) is usually the preferred signal for terminating processes.
Especially in scripts, I recommend using the signal's shortname, e.g. killall -QUIT processname.

[ Reply to This | # ]