I want to exit a process using the command line, but I can't recall the command to look up the process's ID. Does anyone know it?
|
The command to find out a process's id (given its name) is Assuming the process you want to kill is uniquely identified by its name (or you want to kill all the processes with that name), you don't need to know its pid. You can simply do If there are multiple processes with the same name, but you only want to kill one of them, using In this case you can do If the process opened any X-windows, you can also use |
||||
|
|
|
You should have a look at
|
|||
|
|
|
You can run |
||||
|
|
|
I also had a similar problem. I used |
||||
|
|
