for i in `ps -g | sed '/PID/d' | sed '/csh/d' | awk '{printf("%d\t",$1)}'`
do
  if test "%i" != $$
  then
    kill -9 $i
  fi
done
