ftp giving url but i want the IP address

RW rwmaillists at googlemail.com
Mon Apr 5 21:30:25 UTC 2010


On Mon, 05 Apr 2010 13:10:37 -0500
Walter <walterk1 at 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




More information about the freebsd-questions mailing list