0 votes
in Linux by
How to terminate a running process in Linux?

1 Answer

0 votes
by
How to terminate a running process in Linux?

Every process has a unique process id. To terminate the process, we first need to find the process id. The ps command will list all the running processes along with the process id. And then we use the kill command to terminate the process.

Operating Systems Training

The command for listing down all the processes:

$ ps

Suppose the process id of the process you want to terminate is 3849, then you will have to terminate it like this:

$ kill 3849

Related questions

0 votes
asked Nov 11, 2020 in Linux by sharadyadav1986
0 votes
asked Sep 7, 2021 in Linux by Robindeniel
...