Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Was ist das denn? Ich habe keine Ahnung, wie man davon auf die IP Adresse schließen kann.das Interface des zu operierenden
Systems

Was ist das denn? Ich habe keine Ahnung, wie man davon auf die IP Adresse schließen kann.
Wenn pcu Recht hat:
if="$(route get default | awk '$1 == "interface:" {print $2}')"
ip="$(ifconfig $if | awk '$1 == "inet" {print $2}')"
Da können mehrere IPs bei herauskommen.
# ifconfig wlan0 inet
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
inet 192.168.2.210 netmask 0xffffff00 broadcast 192.168.2.255
# ifconfig bge0 inet6
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>
inet6 fe80::651f:204f:3230:da80%bge0 prefixlen 64 scopeid 0x1
We use essential cookies to make this site work, and optional cookies to enhance your experience.