On Mon, Nov 14, 2011 at 11:44 AM, T o n g <mlist4sunt...@yahoo.com> wrote:
>
> I know how to get an IP address *info* using dig, but has anyone looked
> into how to get *only* the IP address? so that I can use, eg.
>
>  the_ip=`get_ip host`

dig +short ...


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=sxctsicg8bopctptsnmqn9ejo1jhoocizc36blv7nt...@mail.gmail.com

Reply via email to