Online Linux Terminal Logo
OnlineLinuxTerminal
Sistema y procesosCLI Manual

$kill

Send termination or control signals to processes by PID.

Sintaxis del comandoPOSIX Standard
kill [OPTIONS] PID...
Comunidad Linux2.4k En línea

Chatea con usuarios de Linux, aprende comandos y descarga guías PDF.

Prueba en vivo en la terminal interactiva

Simulación del lado del cliente sin instalación y con respuesta inmediata.

Abrir en terminal de pantalla completa ↗
bash — terminal

Descripción general y funcionamiento

`kill` transmits POSIX signals to running processes. Despite its name, `kill` is a signal dispatcher. By default, it sends `SIGTERM` (15), which politely asks a process to clean up resources and exit. If a program is completely frozen, `SIGKILL` (9) forcefully terminates it immediately.

Opciones y banderas comunes

Flag / OptionDescription
-9, -KILLSend SIGKILL to forcefully terminate a process immediately (cannot be caught or ignored).
-15, -TERMSend SIGTERM to request graceful termination (default signal).
-lList all available signal names and numbers.

Ejemplos prácticos del mundo real

#1Gracefully terminate process with PID 1024

Sends SIGTERM to allow graceful shutdown.

#2Force kill an unresponsive process
kill -9 1024

Immediately stops the process at the kernel level.