Apologies, I've been kind of following this thread and haven't saved any
of it except the latest.
For me, Tom H has the right idea.
If Todd wants simple what's wrong with something like this:
alias gateways="ip route list | awk '/^default/ {print}'"
--or short form--
alias gateways="ip r l | awk '/^default/ {print}'"
Then fake command "gateways" will give all defined gateways in order of
definition with all listed parameters.
Mike Wright
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx