Terminate process (LINUX)

kill [options] [pids commands]

The command kill sends the specified signal to the specified process or process group.
You must own the process or be a privileged user. If no signal is specified, TERM is sent.


-a Kill all processes of the given name

-p Print the process ID of the named process

-l List all

-s SIGNAL, -SIGNAL The signal number or name


n where n is larger than 0. The process with pid n will be signaled.
0 All processes in the current process group are signaled.
-1 All processes with pid larger than 1 will be signaled.
-n where n is larger than 1. All processes in process group n are signaled.

No comments:

Recent Posts