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

Re: Aktuelle IP per Skript auslesen



On 12/01/09 22:46, Christian Brabandt wrote:
> > wget -q http://checkip.dyndns.org -O- | sed -n "/s:/{s/.*s://;p}" ;-)
> 
> Bloat!1!!!1elf!
> 
> Da gibt's noch Optimierungspotential.
> 
> echo -e "GET / HTTP/1.0\n" |nc checkip.dyndns.org 80  |\
> sed -n "/s:/{s/^.*s:\([^<]*\)<.*$/\1/;p}"

So, und jetzt das Ganze noch mit Proxy-Unterstützung bitte! :-)

Gruss
	Treibholz

-- 
BOFH excuse #270:

Someone has messed up the kernel pointers


Reply to: