How do I stop a process running in the background?
Answer
2.1. The kill Command
Answer
2.1. The kill Command
- SIGINT (2) – has the same result as pressing Ctrl+C in a terminal; it doesn’t automatically end the process.
- SIGQUIT (3) – does the same thing as SIGINT, with the added benefit of producing a core dump.
- SIGKILL (9) – forces termination of the process; it can’t be ignored or gracefully shut down.