/ Published in: C++
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
ipcs | gawk '{ if(($2+1!=1)&&($3=="root")) print $2 }'| xargs -l1 ipcrm -s