Home:ALL Converter>how to kill 2 processes in linux

how to kill 2 processes in linux

Ask Time:2010-02-16T11:35:45         Author:trinity

Json Formatter

I have two programs running simultaneously ( in linux ) , with one running at the background. When i press ctrl+c , the prompt returns , but the processes seem to continue.. How to kill them both ?

Author:trinity,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/2270458/how-to-kill-2-processes-in-linux
ghostdog74 :

use pkill myprocess. If not, check the pid of the background process using ps -ef, then use kill -9 <pid>. you can also use pgrep myprocess to find those pids.",
2010-02-16T03:40:16
yy