Difference between revisions of "Kill"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
== Examples == | == Examples == | ||
+ | "Kill" a process (send SIGKILL signal) | ||
*<code>kill -9 56568</code> or <code>kill -KILL 56568</code> or <code>kill -s KILL 56568</code> | *<code>kill -9 56568</code> or <code>kill -KILL 56568</code> or <code>kill -s KILL 56568</code> | ||
+ | |||
+ | Send SIGTERM signal | ||
+ | *<code>kill -15 56568</code> or <code>kill -TERM 56568</code> or <code>kill -s TERM 56568</code> | ||
== See also == | == See also == |
Revision as of 05:36, 9 December 2019
kill
is a command that is used in Linux and other operating systems to send signals to running processes. kill commands allows to send SIGKILL (kill -9 PID
) signal that cause the process to terminate immediately (kill).
Examples
"Kill" a process (send SIGKILL signal)
kill -9 56568
orkill -KILL 56568
orkill -s KILL 56568
Send SIGTERM signal
kill -15 56568
orkill -TERM 56568
orkill -s TERM 56568
See also
killall
,pkill
,xkill
- kill in Windows is an alias for
Stop-Process
cmdlet
Advertising: