Thank you , I found the solution .
if [ $Choice = "9" ]
then
t=`tty|cut -b6-10`
pro=`ps -t $t|grep sh|head -n 1|cut -b1-7`
kill -9 $pro
Rezk Mekhael
System Admin.
Hi Managers,
Can any one help?
How you logout from the shell script and the system in same time?
Thanks
Rezk
Received on Mon Jan 07 2002 - 17:23:41 NZDT