.sh script code to determine IPv4 or IPv6

Fbsd8 fbsd8 at a1poweruser.com
Sat Aug 3 11:30:32 UTC 2013


I have a .sh script that I need to determine if the entered IP address
is IPv4 or IPv6.

Is there some .sh command that does this?

Thanks



More information about the freebsd-questions mailing list