<div>Hi ALL</div>
<div>&nbsp;</div>
<div>I have to kill all processes which has owner as tester, If&nbsp; 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&nbsp; getting killed below is the script.
</div>
<div>&nbsp;</div>
<div><font style="BACKGROUND-COLOR: rgb(254,254,254)" size="1">&nbsp;</font><font lang="0" face="Arial" color="#000000" size="2">#!/bin/bash<br>ps -ef |grep bdctest | grep -v root | awk '{print $2}'&gt;out<br><br>while read line
<br>do<br>kill -9&nbsp; $line ; echo $?<br>done </font></div>
<div><font size="2"></font>&nbsp;</div>
<div>the process id is not moved to&nbsp; the variable</div>
<div>&nbsp;</div>
<div>Kaushal</div>