kill
and kill -9
This is how you “kill” a process in Unix. You pass the process id number that you found through ps to the kill command. Note that kill is different than terminate— and that’s an important distinction— because kills just “tells” the process to shut down. In other words, it just asks kindly.
Terminate, on the other hand, actually tells the OS to terminate the process. That’s important when debugging because very often your process might be hanging, and when it is hanging, you can’t kill it (you must terminate it). To terminate, you use kill -9
, like so
kill -9 73609