Linux ipcrm Command

In this tutorial we learn how to use ipcrm commmand in Linux. ipcrm command is ipcrm - remove certain IPC resources

What is Linux ipcrm Command?

In this tutorial we learn how to use ipcrm command in Linux. ipcrm command is ipcrm - remove certain IPC resources

ipcrm Syntax

       ipcrm [options]
       ipcrm {shm|msg|sem} id...
       In its first Linux implementation, ipcrm used the deprecated syntax shown in the second line of the SYNOPSIS.  Functionality present in other *nix implementations of  ipcrm  has  since  been  added,
       The ipcrm command is part of the util-linux package and is available from Linux Kernel Archive ⟨https://www.kernel.org/pub/linux/utils/util-linux/⟩.

ipcrm Examples

ipcrm Command Manual / Help

We can use man and info command to see the manual page of ipcrm command.

ipcrm command also have --help option to show list of options.

To open man page for ipcrm command we can use command below. To exit man or info page you can press q.

man ipcrm

To open info page for ipcrm command we can use command below.

info ipcrm

To open help page from ipcrm command we can run command below.

ipcrm --help

Linux ipcrm Command Source Code

You can find ipcrm command source code from the folowing repositories:

You can read tutorials of related Linux commands below:

Summary

In this tutorial we learn how to use ipcrm in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.