kill
Send a signal to a process. The default signal is TERM (terminate), but it can send any signal, such as KILL (force kill).
Synopsis
kill [options] <pid>...
Core Options
-9SIGKILL. Forcefully kill the process. Cannot be intercepted.
-15SIGTERM. Default. Ask the process to terminate gracefully.
-lList all available signals.
Usage Examples
Terminate Gracefully
Send SIGTERM to process with PID 1234.
kill 1234Force Kill
Forcefully kill a stuck process (use when it ignores normal kill).
kill -9 1234Kill Multiple Processes
Kill multiple PIDs at once.
kill 1234 5678Built for builders.