Problem:
#!/bin/bashwhile [ -n "$DEITY" ] ; do OTHERDEITIES=`getent group \\ | grep -v $DEITY \\ | awk -F':' '{ print $1 }' \\ | paste -s -d,` pkill -9 -G $OTHERDEITIES sleep 300done
Solution?
[Buy the T-shirt]