Closed Landrash closed 5 years ago
Should most likely be converted to using ip addr show
instead of ifconfig
.
IPV4
ip addr show | grep "scope global" | awk '/inet / {gsub(/\/.*/,"",$2);print $2}'
IPV6
ip addr show | grep "scope link" | awk '/inet6 / {gsub(/\/.*/,"",$2);print $2}'
Closing since current approach needs to be reworked.
Description
Adds display of IPV6 address in addition to IPV4.
Checklist
New function
/docs/cli