Files
cheatsheet-tldr/tldr/linux/ipcrm
2025-03-29 00:18:23 +00:00

38 lines
741 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# ipcrm
> Delete IPC (Inter-process Communication) resources.
> More information: <https://manned.org/ipcrm>.
- Delete a shared memory segment by ID:
`ipcrm {{[-m|--shmem-id]}} {{shmem_id}}`
- Delete a shared memory segment by key:
`ipcrm {{[-M|--shmem-key]}} {{shmem_key}}`
- Delete an IPC queue by ID:
`ipcrm {{[-q|--queue-id]}} {{ipc_queue_id}}`
- Delete an IPC queue by key:
`ipcrm {{[-Q|--queue-key]}} {{ipc_queue_key}}`
- Delete a semaphore by ID:
`ipcrm {{[-s|--semaphore-id]}} {{semaphore_id}}`
- Delete a semaphore by key:
`ipcrm {{[-S|--semaphore-key]}} {{semaphore_key}}`
- Delete all IPC resources:
`ipcrm {{[-a|--all]}}`