403Webshell
Server IP : 51.89.169.208  /  Your IP : 216.73.216.126
Web Server : Apache
System : Linux ns3209505.ip-198-244-202.eu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64
User : yellowleaf ( 1019)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/zsh/5.5.1/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/zsh/5.5.1/functions/_dsh
#compdef dsh

local curcontext="$curcontext" state line expl
typeset -A opt_args
local -a _comp_priv_prefix

_arguments -s -C -S \
  '(-v --verbose -q --quiet)'{-v,--verbose}'[verbose output]' \
  '(-q --quiet -v --verbose)'{-q,--quiet}'[quieter output]' \
  '(-M --show-machine-names)'{-M,--show-machine-names}'[prepend the host name on output]' \
  '(-i --duplicate-input)'{-i,--duplicate-input}'[duplicate input given to dsh]' \
  '(-b --bufsize)'{-b,--bufsize}'[change buffer size used in input duplication]:buffer size for -i (bytes)' \
  '(-m --machine)'{-m,--machine}'[execute on machine]:machine:{_hosts || _user_at_host}' \
  '(-n --num-topology)'{-n,--num-topology}'[how to divide the machines]:number' \
  '(-a --all)'{-a,--all}'[execute on all machines]' \
  '(-g --group)'{-g,--group}'[execute on group member]:groupname:->groups' \
  '(-f --file)'{-f,--file}'[use the file as list of machines]:file:_files' \
  '(-r --remoteshell)'{-r,--remoteshell}'[execute using shell]:remote shell:(rsh ssh)' \
  '(-o --remoteshellopt)'{-o,--remoteshellopt}'[option to give to remote shell ]:option' \
  '(-)'{-h,--help}'[display help information]' \
  '(-w --wait-shell -c --concurrent-shell)'{-w,--wait-shell}'[sequentially execute shell]' \
  '(-c --concurrent-shell -w --wait-shell)'{-c,--concurrent-shell}'[execute shell concurrently]' \
  '(-F --forklimit)'{-F,--forklimit}'[concurrent with limit on number]:fork limit' \
  '(-)'{-V,--version}'[display version information]' \
  '*::args: _normal' && return

if [[ $state = groups ]]; then
  if ! zstyle -s ":completion:${curcontext}:dsh-groups" dsh-groups grp; then
    [[ -e ~/.dsh/group ]] && grp="~/.dsh/group" || return 1
  fi
  _path_files -W ~/.dsh/group && return
fi

return 1

Youez - 2016 - github.com/yon3zu
LinuXploit