[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Getting hostname



On Sun, May 04, 2003 at 04:16:59PM -0600, Bob Proulx wrote:
> Guido Guenther wrote:
> > Holger Kubiak wrote:
> > foo@bar:~$ getent hosts 193.99.144.71
> > 193.99.144.71   www.heise.de
 
> Just noting that 'getent' is GNU libc only and does not exist on other
> systems.  It is not portable.

according to google at least Solaris has getent(1), too
                   cu andreas



Reply to: