Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'View IP address info with GeekTool' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
View IP address info with GeekTool
Authored by: Chealion on Oct 06, '04 01:48:29PM

Personally I just use this;

[code]ifconfig | grep netmask | grep -v 127.0.0.1 | awk {'print $2'};
curl -s www.whatismyip.com | grep 'Your IP is' | awk {'print $4'}
[/code]

All internal IPs (excluding loopback addresses), and your external (on internet) IP according to whatismyip.com.

---
Chealion - The one and only! =)



[ Reply to This | # ]
View IP address info with GeekTool
Authored by: steveo52 on Oct 06, '04 05:39:06PM

There's a widget for this if you use Konfabulator, works awesome.

http://www.widgetgallery.com/view.php?widget=36005



[ Reply to This | # ]
View IP address info with GeekTool
Authored by: jemuel85 on Nov 04, '08 09:44:31PM

I tried using your script, but the external IP does not seem to be working...



[ Reply to This | # ]