O'Reilly logo

Mac OS X Tiger in a Nutshell by Jason McIntosh, Chuck Toporek, Chris Stone, Andy Lester

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

kill

Synopsis

kill [option] PID

This is the /bin/kill command; there is also a shell command of the same name that works similarly. Send a signal to terminate one or more process IDs (PID). You must own the process or be a privileged user. If no signal is specified, TERM is sent. If the PID is -1, the signal is sent to all processes you own. If you are superuser, a PID of -1 sends the signal to all processes.

Options

-l

List the signal names. (Used by itself.)

-s signal

Send signal signal to the given process or process group. signal can be the signal number (from /usr/include/sys/signal.h) or name (from kill -l). With a signal number of 9, the kill is absolute.

-signal

Send signal signal to the given process or process group.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required