Difference between revisions of "Ipconfig getifaddr"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
* {{networksetup}} | * {{networksetup}} | ||
* {{ipconfig}} | * {{ipconfig}} | ||
+ | * {{macOS networking}} | ||
[[Category:macOS]] | [[Category:macOS]] |
Revision as of 08:42, 21 September 2022
ipconfig getifaddr en0 192.168.0.13
for DEVICE in $(networksetup -listallhardwareports | grep Device | cut -d" " -f2); do echo $DEVICE; ipconfig getifaddr $DEVICE; done
ipconfig getifaddr usage: ipconfig getifaddr <interface name>
See also
Advertising: