Nguyễn Thị Thảo Sương
New member
How do I stop a Linux program from running in the background?
Answer
Here’s what we do:
Answer
Here’s what we do:
- Use the ps command to get the process id (PID) of the process we want to terminate.
- Issue a kill command for that PID.
- If the process refuses to terminate (i.e., it is ignoring the signal), send increasingly harsh signals until it does terminate.