Re: getting my IP on OS x
Re: getting my IP on OS x
- Subject: Re: getting my IP on OS x
- From: garrett <email@hidden>
- Date: Mon, 17 Jun 2002 02:07:55 -0500
Sometime 'round 06/17/2002 02:05 AM, so and so (Philip Aker) at such n such
(email@hidden) graced my inbox with this brilliant thought:
>
On Sunday, June 16, 2002, at 11:01 PM, garrett wrote:
>
>
> is there a do shell script command to get my ip?
after much searching on apples kbase, I found this:
ifconfig en0 | awk '/inet/{print $2}'
which from the terminal works great - returns my IP. but when I do:
do shell script "ifconfig en0 | awk '/inet/{print $2}'"
the result is ""
any ideas?
-------
garrett
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.