How do you end a process in Linux terminal?

How do you end a process in Linux terminal?
Answer
Here’s what we do:
  1. Use the ps command to get the process id (PID) of the process we want to terminate.
  2. Issue a kill command for that PID.
  3. If the process refuses to terminate (i.e., it is ignoring the signal), send increasingly harsh signals until it does terminate.
 

Tìm kiếm

Back
Top