~ K A L I ~
UNAME : Linux web64.extendcp.co.uk 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64SERVER IP : 10.0.187.64 -________-
CLIENT IP : 216.73.216.230 MINI SHELL D ZAB '
Current File : //usr/share/bash-completion/completions/route |
# Linux route(8) completion -*- shell-script -*-
[[ $OSTYPE == *linux* ]] || return 1
_route()
{
local cur prev words cword
_init_completion || return
if [[ $prev == dev ]]; then
_available_interfaces
return
fi
# Remove already given options from completions
local opt found i
for opt in add del -host -net netmask metric mss window irtt reject mod \
dyn reinstate dev default gw; do
found=false
for (( i=1; i < ${#words[@]}-1; i++ )); do
[[ ${words[i]} == $opt ]] && found=true && break
done
$found || COMPREPLY[${#COMPREPLY[@]}]="$opt"
done
COMPREPLY=( $( compgen -W '"${COMPREPLY[@]}"' -- "$cur" ) )
} &&
complete -F _route route
# ex: filetype=sh
Coded by KALI :v Greetz to DR HARD ../ kali.zbi@hotmail.com