| Server IP : 62.72.47.131 / Your IP : 216.73.217.34 Web Server : Apache/2.4.66 (Debian) System : Linux 975cdb959a49 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : ( 501) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/bash-completion/completions/ |
Upload File : |
_ipcrm_module()
{
local cur prev OPTS KEYIDS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-m'|'--shmem-id')
KEYIDS="$(lsipc -m --noheadings -o ID)"
COMPREPLY=( $(compgen -W "$KEYIDS" -- $cur) )
return 0
;;
'-M'|'--shmem-key')
KEYIDS="$(lsipc -m --noheadings -o KEY)"
COMPREPLY=( $(compgen -W "$KEYIDS" -- $cur) )
return 0
;;
'--posix-shmem')
KEYIDS="$(lsipc -M --noheadings -o NAME)"
COMPREPLY=( $(compgen -W "$KEYIDS" -- $cur) )
return 0
;;
'-q'|'--queue-id')
KEYIDS="$(lsipc -q --noheadings -o ID)"
COMPREPLY=( $(compgen -W "$KEYIDS" -- $cur) )
return 0
;;
'-Q'|'--queue-key')
KEYIDS="$(lsipc -q --noheadings -o KEY)"
COMPREPLY=( $(compgen -W "$KEYIDS" -- $cur) )
return 0
;;
'--posix-mqueue')
KEYIDS="$(lsipc -Q --noheadings -o NAME)"
COMPREPLY=( $(compgen -W "$KEYIDS" -- $cur) )
return 0
;;
'-s'|'--semaphore-id')
KEYIDS="$(lsipc -s --noheadings -o ID)"
COMPREPLY=( $(compgen -W "$KEYIDS" -- $cur) )
return 0
;;
'-S'|'--semaphore-key')
KEYIDS="$(lsipc -s --noheadings -o KEY)"
COMPREPLY=( $(compgen -W "$KEYIDS" -- $cur) )
return 0
;;
'--posix-semaphore')
KEYIDS="$(lsipc -S --noheadings -o NAME)"
COMPREPLY=( $(compgen -W "$KEYIDS" -- $cur) )
return 0
;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
'=')
cur=${cur#=}
COMPREPLY=( $(compgen -W "shm pshm msg pmsg sem psem" -- $cur) )
return 0
;;
esac
OPTS=" --shmem-id
--shmem-key
--posix-shmem
--queue-id
--queue-key
--posix-mqueue
--semaphore-id
--semaphore-key
--posix-semaphore
--all=
--verbose
--help
--version"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
}
complete -F _ipcrm_module ipcrm