kill
System InfoTerminate processes by PID
Options & Flags
Available options for this command
-9Force kill (SIGKILL)
-15Graceful termination (SIGTERM, default)
-lList all signal names
Examples
Common usage examples
Gracefully terminate process with PID 1234
kill 1234Force kill process with PID 1234
kill -9 1234Kill all processes named nginx
killall nginxNotes
- Use ps or top to find process IDs
- Always try graceful kill before force kill
- killall kills processes by name