Main
Monday
11Jan2010

Sick of browsing for your ip address? whatismyip to the rescue

Tonight I finally got fet-up with browsing around my OS and the internet just to get my public and local ip addresses. Sick of visiting whatismyip.com or some other site whose only purpose is to tell you your public ip address. Never fear, whatismyip ruby gem is here!

Jimmy-Bakers-iMac:~ jimmy$ gem install whatismyip
Now simply type 'whatismyip'..
Successfully installed whatismyip-1.0.0
1 gem installed
Jimmy-Bakers-iMac:~ jimmy$ whatismyip 

Public IP:
==========
68.86.753.09
    
Local IP's:
===========
lo0: 127.0.0.1
en1: 192.168.1.148

 

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>