<div>Hi ALL</div>
<div> </div>
<div>I have to kill all processes which has owner as tester, If there any specific command to that or i have to write script, if i read a PID into variable i cant kill the processes its not getting killed below is the script.
</div>
<div> </div>
<div><font style="BACKGROUND-COLOR: rgb(254,254,254)" size="1"> </font><font lang="0" face="Arial" color="#000000" size="2">#!/bin/bash<br>ps -ef |grep bdctest | grep -v root | awk '{print $2}'>out<br><br>while read line
<br>do<br>kill -9 $line ; echo $?<br>done </font></div>
<div><font size="2"></font> </div>
<div>the process id is not moved to the variable</div>
<div> </div>
<div>Kaushal</div>