$kill
Send termination or control signals to processes by PID.
kill [OPTIONS] PID...Live im interaktiven Terminal ausprobieren
Client-seitige Simulation ohne Installation mit sofortigem Feedback.
Überblick & Funktionsweise
`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.
Wichtige Optionen und Flags
| Flag / Option | Description |
|---|---|
| -9, -KILL | Send SIGKILL to forcefully terminate a process immediately (cannot be caught or ignored). |
| -15, -TERM | Send SIGTERM to request graceful termination (default signal). |
| -l | List all available signal names and numbers. |
Praktische Anwendungsbeispiele
kill 1024Sends SIGTERM to allow graceful shutdown.
kill -9 1024Immediately stops the process at the kernel level.
Verwandte Linux-Befehle
Momentaufnahme der aktuell ausgeführten Systemprozesse anzeigen.
Display real-time Linux processes and system resource utilization.
Interactive process viewer with colorful CPU meters and mouse support.
Print the effective username associated with the current shell session.
Display or set system date and time.
Print operating system name and kernel architecture.