PHP-Programm zu exe-Programm compilieren
bearbeitet von ursus contionabundo> bei ipconfig würde ich dann aber auch gründlich sein und ipconfig /all aufrufen :)
Klar! [Sonst weiß man ja nicht, was man da tut](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/ipconfig#examples)…
{::nomarkdown}*wegduck*{:/}
Hier mal das Äquivalent der Linux-Ausgabe:
~~~bash
ifconfig | grep "inet " | sed -E -e "s/ +/ /g" | awk -F " " '{ print $2; }'
~~~
~~~
192.168.1.2
127.0.0.1
172.16.15.1
172.16.61.1
~~~
Jetzt muss man nur noch den Lokalhost und die IPs jener virtuellen Geräte, die VM-Ware anlegt, ausfiltern:
~~~bash
ifconfig | grep "inet " | sed -E -e "s/ +/ /g" | awk -F " " '{ print $2"/"$4; }' | grep -Pv '^127\.|^172\.16\.15\.|172\.16\.61\.'
~~~
~~~
192.168.1.2
~~~
und vielleicht auch die Netzwerkmaske zeigen:
~~~bash
ifconfig | grep "inet " | sed -E -e "s/ +/ /g" | awk -F " " '{ print $2"/"$4; }' | grep -Pv '^127\.|^172\.16\.15\.|172\.16\.61\.'
~~~
~~~
192.168.1.2/255.255.255.0
~~~
PHP-Programm zu exe-Programm compilieren
bearbeitet von ursus contionabundo> bei ipconfig würde ich dann aber auch gründlich sein und ipconfig /all aufrufen :)
Klar! [Sonst weiß man ja nicht, was man da tut](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/ipconfig#examples)…
{::nomarkdown}*wegduck*{:/}
Hier mal das Äquivalent der Linux-Ausgabe:
~~~bash
ifconfig | grep "inet " | sed -E -e "s/ +/ /g" | awk -F " " '{ print $2; }'
~~~
~~~
192.168.1.2
127.0.0.1
172.16.15.1
172.16.61.1
~~~
Jetzt muss man nur noch den Lokalhost und die IPs jener virtuellen Geräte, die VM-Ware anlegt, ausfiltern:
~~~bash
ifconfig | grep "inet " | sed -E -e "s/ +/ /g" | awk -F " " '{ print $2; }' | grep -Pv '^127\.|^172\.16\.15\.|172\.16\.61\.'
~~~
~~~
192.168.1.2
~~~
PHP-Programm zu exe-Programm compilieren
bearbeitet von ursus contionabundo> bei ipconfig würde ich dann aber auch gründlich sein und ipconfig /all aufrufen :)
Klar! [Sonst weiß man ja nicht, was man da tut](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/ipconfig#examples)…
{::nomarkdown}*wegduck*{:/}