/ Published in: C++
Expand |
Embed | Plain Text
ipcs | gawk '{ if(($2+1!=1)&&($3=="root")) print $2 }'| xargs -l1 ipcrm -s
You need to login to post a comment.
buscarini on 01/25/07
2 people have marked this snippet as a favorite
ipcs | gawk '{ if(($2+1!=1)&&($3=="root")) print $2 }'| xargs -l1 ipcrm -s
You need to login to post a comment.