Exit from the shell script and the system in the same time

From: Rezk Mekhael <rezk_at_clunet.edu>
Date: Mon, 07 Jan 2002 09:19:29 -0800

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

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT