How about the command "hostname"?

On Thu, Oct 9, 2008 at 11:16 PM, Mark Hawk Weiss <[EMAIL PROTECTED]> wrote:

> Hey,
>
> Does anyone know why this is not working. I have been working on it for an
> hour and can't figure it out.
>
> use Socket;$iaddr = inet_aton(`/sbin/ifconfig | grep 129.123.98 | cut -d '
> ' -f 2`);printf gethostbyaddr($iaddr, AF_INET);
>
> I keep getting the error
>
> -bash: syntax error near unexpected token `('
>
> I am trying to get the host name of the computer.
>
> Thanks for the second set of eyes.
>
>
> Mark Weiss
> http://trustthechildren.blogspot.com
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>
>

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to