View Single Post

  #7 (permalink)  
Old 07-13-2007, 06:48 PM
SAYAYINX SAYAYINX is offline
Junior Member
User
 
Join Date: Jul 2007
My distro: Ubuntu
Posts: 5
Rep Power: 0
SAYAYINX is on a distinguished road
Send a message via AIM to SAYAYINX Send a message via Yahoo to SAYAYINX
Default

I will use my line then:

MYIP=`curl -s IP Chicken - What is my IP? Find Your IP Address! | awk '/[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*/ {print $1}'`

I know it works.

But I have another question:

LOG=/your/log/path/ip <= where is that folder? can i make one up?

OLD_IP=`cat $LOG` <= again, is that a folder? a file?

Thanks for the quick reply
Reply With Quote