Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Aug 2013 08:04:25 -0400
From:      Robert Huff <>
To:        Fbsd8 <>
Cc:        questions <>
Subject:   .sh script code to determine IPv4 or IPv6
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

Fbsd8 writes:

>  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?

	Not that I know of.
	But ... how hard can it be to figure out whether it uses '.' or

				Robert Huff

Want to link to this message? Use this URL: <>