Difference between revisions of "Ipconfig getifaddr"

From wikieduonline
Jump to navigation Jump to search
Line 17: Line 17:
 
== See also ==
 
== See also ==
 
* {{networksetup}}
 
* {{networksetup}}
* {{ipconfig}}
+
* {{ipconfig (macOS)}}
 
* {{macOS networking}}
 
* {{macOS networking}}
  
 
[[Category:macOS]]
 
[[Category:macOS]]

Revision as of 09:27, 22 November 2023

macOS

ipconfig getifaddr en0
192.168.0.13
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: