How to detect if system has IPv6 enabled in a UNIX shell script? How to detect if system has IPv6 enabled in a UNIX shell script? shell shell