Difference between revisions of "Ipconfig getifaddr"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
[[ipconfig]] getifaddr [[en0]] | [[ipconfig]] getifaddr [[en0]] | ||
192.168.0.13 | 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 | for DEVICE in $([[networksetup -listallhardwareports]] | grep Device | cut -d" " -f2); do echo $DEVICE; ipconfig getifaddr $DEVICE; done |
Revision as of 09:31, 22 November 2023
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: