Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Apr 2010 22:30:20 +0100
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: ftp giving url but i want the IP address
Message-ID:  <20100405223020.3ba44f6f@gumby.homeunix.com>
In-Reply-To: <4BBA279D.7010102@earthlink.net>
References:  <4BB9FCFB.40103@earthlink.net> <p062408d7c7dfc9e7f39d@[10.0.0.10]> <4BBA279D.7010102@earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 05 Apr 2010 13:10:37 -0500
Walter <walterk1@earthlink.net> wrote:

> On 4/5/10 10:08 AM -0500, Walter wrote:

> >If, by "host-specific url" you mean the name associated with
> >the IP address, you should be able to get the IP address by
> >using the "host" command.
> >  
> >
> "host xxxxxxx" does the trick. 

FWIW dig is a little cleaner for scripts

$ dig +short freebsd.org
69.147.83.40





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100405223020.3ba44f6f>