1 Mar
2000
1 Mar
'00
21:24
Hallo, On Mit, 01 Mär 2000, Christian Ullrich wrote:
* Kai Bolay schrieb:
Meine Frage: Wie finde ich meine aktuelle IP-Adresse und den Hostnamen heraus?
/sbin/ifconfig|grep -1 eth0|cut -s -d ' ' -f12|grep addr|cut -d ':' -f2
Oder : ifconfig ppp0|grep -B 1 UP|grep inet|awk '{print $2}'|tr -d 'addr:' Gruß, Sebastian -- "No worries." - Rincewind Sebastian Helms - mailto:sebastian@helms.sh (PGP available) SuSE-Linux-Mailinglisten-FAQ: http://www.helms.myokay.net/faq/ --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com