title: How to remove all the IPC-Message queue ?
body: <p>Consider I have created a 100 messages queues using a msgget() function.</p>
  
  <pre><code> ------ Message Queues --------
   key        msqid      owner      perms      used-bytes   messages    
  0x00000000 262144     bhuvaneshw 666        40           2           
  0x00000000 294913     bhuvaneshw 666        40           2           
  0x00000000 327682     bhuvaneshw 666        40           2           
  0x00000000 360451     bhuvaneshw 666        40           2           
  0x00000000 393220     bhuvaneshw 666        40           2           
  0x00000000 425989     bhuvaneshw 666        55           3        
  ....
  .....
  ....
  </code></pre>
  
  <p>Using a <code>ipcrm</code> command we can remove the single queue at a time.</p>
  
  <pre><code>ipcrm -q queue_id
  </code></pre>
  
  <p>or else using a <code>msgctl()</code> we can remove that. But I want to remove all the message queues in single instant . Is there is any way to do this in linux?   </p>