IP-Adresse/Extern: Unterschied zwischen den Versionen
Erscheinungsbild
	
	
| K Textersetzung - „Kategorie:IP“ durch „Kategorie:Internet Protocol“ Markierung: Zurückgesetzt | K Textersetzung - „Kategorie:Internet Protocolv4“ durch „Kategorie:IPv4“ Markierung: Manuelle Zurücksetzung | ||
| Zeile 7: | Zeile 7: | ||
|   $ '''lynx -dump http://www.formyip.com/ | awk "/IP is/" | awk {'print $4'}''' |   $ '''lynx -dump http://www.formyip.com/ | awk "/IP is/" | awk {'print $4'}''' | ||
| [[Kategorie: | [[Kategorie:IPv4]] | ||
| [[Kategorie:Regex]] | [[Kategorie:Regex]] | ||
Version vom 28. Februar 2023, 14:51 Uhr
Öffentliche IP-Adresse ermitteln
$ wget -O - -q icanhazip.com 1.2.3.4
$ curl -L -s --max-time 10 http://checkip.dyndns.org | grep -Eo -m 1 '(digit:{1,3}.){3}digit:{1,3}'
$ lynx -dump http://www.formyip.com/ | awk "/IP is/" | awk {'print $4'}