ipcrm
Delete IPC (Inter-process Communication) resources. tldr-pages
On Linux
Linux
Delete a shared memory segment by ID
ipcrm --shmem-id shmem_idIdentifyDelete a shared memory segment by key
ipcrm --shmem-key shmem_keyIdentifyDelete an IPC queue by ID
ipcrm --queue-id ipc_queue_idIdentifyDelete an IPC queue by key
ipcrm --queue-key ipc_queue_keyIdentifyDelete a semaphore by ID
ipcrm --semaphore-id semaphore_idIdentifyDelete a semaphore by key
ipcrm --semaphore-key semaphore_keyIdentifyDelete all IPC resources
ipcrm --allIdentify