| Server IP : 23.111.136.34 / Your IP : 216.73.216.136 Web Server : Apache System : Linux servidor.eurohost.com.br 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : meusitei ( 1072) PHP Version : 5.6.40 Disable Function : show_source, system, shell_exec, passthru, proc_open MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/bash-completion/completions/ |
Upload File : |
# bash completion for tcpdump -*- shell-script -*-
_tcpdump()
{
local cur prev words cword
_init_completion || return
case $prev in
-r|-w|-F)
_filedir
return 0
;;
-i)
_available_interfaces -a
return 0
;;
-m)
_filedir mib
return 0
;;
-T)
COMPREPLY=( $( compgen -W 'aodv cnfp rpc rtp rtcp snmp tftp vat
wb' -- "$cur" ) )
return 0
;;
-z)
compopt -o filenames
COMPREPLY=( $( compgen -c -- "$cur" ) )
return 0
;;
-Z)
_allowed_users
return 0
;;
-B|-c|-C|-D|-E|-G|-M|-s|-W|-y)
return 0
;;
esac
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '$( _parse_usage "$1" )' -- "$cur" ) )
fi
} &&
complete -F _tcpdump tcpdump
# ex: ts=4 sw=4 et filetype=sh