ipconfig getifaddr

From wikieduonline
Revision as of 10:08, 13 December 2023 by Welcome (talk | contribs) (→‎Related)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

macOS

ipconfig getifaddr en0
192.168.0.13
ipconfig getifaddr
usage: ipconfig getifaddr <interface name>
for DEVICE in $(networksetup -listallhardwareports | grep Device | cut -d" " -f2); do echo $DEVICE; ipconfig getifaddr $DEVICE; done

Errors

ipconfig getifaddr
usage: ipconfig getifaddr <interface name>

Related

See also

Advertising: