
I never remember the incantation, and its slightly different between FreeBSD and Linux so I am adding this script essentially as a note.
8 lines
134 B
Bash
8 lines
134 B
Bash
#!/usr/bin/env bash
|
|
#
|
|
set -euo pipefail
|
|
IFS=$'\n\t'
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
exec ip route get "${@}"
|