403Webshell
Server IP : 152.69.216.235  /  Your IP : 80.80.80.28
Web Server : Apache/2.4.37 (Oracle Linux Server)
System : Linux ust-wp4-prod 5.15.0-310.184.5.2.el8uek.x86_64 #2 SMP Wed Jul 9 16:08:33 PDT 2025 x86_64
User : apache ( 48)
PHP Version : 8.4.10
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /etc/bash_completion.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /etc/bash_completion.d/alx
# Copyright (c) 2021 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl

# bash completion for alx
_alx_complete()
{
    local cur_word prev_word
    cur_word="${COMP_WORDS[COMP_CWORD]}"
    prev_word="${COMP_WORDS[COMP_CWORD-1]}"

    subcmds="help version init validate show clear"
    show_subcmds="instance_id
                  compartment_id
                  realm_key
                  os_family
                  os_arch
                  os_version
                  reboot_required
                  osms_ready
                  enabled_yum_repos
                  used_yum_repos
                  ksplice_effective_kernel_version kekv
                  known_exploit_detection ked"
    clear_subcmds="known_exploit_detection ked"

    case ${COMP_CWORD} in
        1)
            COMPREPLY=($(compgen -W "$subcmds" -- $cur_word))
            ;;
        2)
            case ${prev_word} in
                show )
                    COMPREPLY=($(compgen -W "$show_subcmds" -- $cur_word))
                    ;;
                clear )
                    COMPREPLY=($(compgen -W "$clear_subcmds" -- $cur_word))
                    ;;
            esac
            ;;
        *)
            COMPREPLY=()
            ;;
    esac
}
complete -F _alx_complete alx

Youez - 2016 - github.com/yon3zu
LinuXploit