for i in `ipcs -s | awk ‘/apache/ {print $2}’`; do (ipcrm -s $i); done
ipcrm -m 0x63637069
ipcs -s | grep nobody | awk ‘ { print $2 } ‘ | xargs ipcrm
for i in `ipcs -s | awk ‘/apache/ {print $2}’`; do (ipcrm -s $i); done
ipcrm -m 0x63637069
ipcs -s | grep nobody | awk ‘ { print $2 } ‘ | xargs ipcrm