• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

ipcmk: command not found

by Deepika

The “ipcmk” command is a command-line utility that is used to create various types of IPC (Inter-process Communication) resources. These resources include shared memory, message queues, and semaphores.

IPC resources created using ipcmk command need to be deleted using “ipcrm” command after they are no longer needed.

If you encounter the below error while running the command ipcmk:

ipcmk: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
Debian apt-get install util-linux
Ubuntu apt-get install util-linux
Alpine apk add util-linux
Arch Linux pacman -S util-linux
Kali Linux apt-get install util-linux
CentOS yum install util-linux
Fedora dnf install util-linux
OS X brew install util-linux
Raspbian apt-get install util-linux

ipcmk Command Examples

1. Create a shared memory segment:

# ipcmk --shmem segment_size_in_bytes

2. Create a semaphore:

# ipcmk --semaphore element_size

3. Create a message queue:

# ipcmk --queue

4. Create a shared memory segment with specific permissions (default is 0644):

# ipcmk --shmem segment_size_in_bytes octal_permissions

Filed Under: Linux

Some more articles you might also be interested in …

  1. md5sum Command Examples in Linux
  2. “git restore” Command Examples
  3. exa: A modern replacement for ls (List directory contents)
  4. emerge Command Examples in Gentoo Linux
  5. certutil: Manage keys and certificates in both NSS databases and other NSS tokens
  6. ntpdate: command not found
  7. add-apt-repository Command Examples
  8. pacdiff Command Examples in Linux
  9. iostat: command not found
  10. lorem Command Examples

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright