MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.148.106.49
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/pixmaps/../tabset/../bash-completion/completions/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/pixmaps/../tabset/../bash-completion/completions/umount
# umount(8) completion                                     -*- shell-script -*-

if [[ $OSTYPE == *linux* ]]; then
    . "$BASH_SOURCE.linux"
    return
fi

# umount(8) completion. This relies on the mount point being the third
# space-delimited field in the output of mount(8)
#
_umount()
{
    local cur prev words cword
    _init_completion || return

    local IFS=$'\n'
    COMPREPLY=( $( compgen -W '$( mount | cut -d" " -f 3 )' -- "$cur" ) )
} &&
complete -F _umount -o dirnames umount

# ex: ts=4 sw=4 et filetype=sh

MMCT - 2023