skill

Send a signal to processes that match selection criterias.

skill [signal to send] [options] process selection criteria

-t The next string is a terminal (tty or pty)
-u The next string is a username
-p The next string is a process ID
-c The next string is a command name
skill -9 -u khai -c httpd

Kill users on new-style PTY devices:

skill -KILL -v /dev/pts/*

Stop 3 users:

skill -STOP viro lm davem
page_revision: 0, last_edited: 1223882927|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License