Online Linux Terminal Logo
OnlineLinuxTerminal
System & ProzesseCLI Manual

$kill

Send termination or control signals to processes by PID.

BefehlssyntaxPOSIX Standard
kill [OPTIONS] PID...
Linux-Community2.4k Online

Tausche dich mit Linux-Nutzern aus, lerne Befehle und lade PDF-Cheatsheets herunter.

Live im interaktiven Terminal ausprobieren

Client-seitige Simulation ohne Installation mit sofortigem Feedback.

Im Vollbild-Terminal öffnen ↗
bash — terminal

Ü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 / 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.

Praktische Anwendungsbeispiele

#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.