What is the command for terminating a running Linux process?
The process id for each process is different. Finding the process id is the first step in terminating the process. All currently active processes and their Ids can be listed by using the ps command, and then those processes can be ended with the kill command. So, we run the ps command:
$ps
Then, assuming the process id of the process you wish to end is 1234, we must terminate it as follows:
$ kill 1234