Thread
:
Quickly find your IP Address
View Single Post
#
6
20th August 2010, 10:51
damir
Senior Member
Join Date: Jun 2006
Posts: 375
Thanks: 11
Thanked 48 Times in 40 Posts
This is how i do it on my Mac. Open the terminal:
nano -w .profile
and than paste following:
Quote:
alias myip='curl -s
http://www.whatismyip.com/automation/n09230945.asp
| grep -o '[0-9][0-9]*.[0-9][0-9]*.[0-9][0-9]*.[0-9]*''
Save and quit the file. Afte that just type
myip
and you will get you external IP.
damir
View Public Profile
Send a private message to damir
Find all posts by damir