[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: what is my IP?



On Saturday 29 January 2005 08:52, Vegard Lundby Rekaa wrote:
> I have a dynamic IP-adress, and have been using p2p clients to retrive my
> owm IP adresse when I need it. Is there another, easier way to do this?

In my .bashrc:
alias myip="/sbin/ifconfig eth0 | grep 'inet add' | awk '{print $2}' |cut -d ' 
'  -f 12 |cut -d: -f2"
alias myip-nat="lynx -dump http://checkip.dyndns.org";



Reply to: