for i in `ps -g | sed '/PID/d' | sed '/csh/d' | awk '{printf("%d\t",$1) }'`
do
	 if test "$i" != 0 
	 then
		 if test "$i" != $$ 
		 then
				kill -9 $i
		 fi
	 fi
done
n=`whoami`
if test "$n" = root
then
	echo "Leaving shell"
	exit
fi
for i in `ls -l /tmp | awk '{print $8 }'`
do
		 if test -w $i 
		 then
			/bin/rm $i 
		 fi
done
