Kill process in Linux Terminal
Sends SIGTERM, which a program can handle and shut down cleanly. kill -9 sends SIGKILL, which cannot be caught and skips cleanup.
Shell: Linux Terminal · Category: processes · Risk level: dangerous
What you provide
- pid — Process ID
The exact syntax, a worked example, a safer alternative and the flag reference are behind sign-in.
This is a limited preview. The full walkthrough, command syntax and copy-ready examples are available to signed-in users.