Difference between revisions of "Ipconfig getifaddr"

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

Revision as of 08:33, 21 September 2022

macOS

ipconfig getifaddr en0
192.168.0.13
ipconfig getifaddr $(networksetup -listallhardwareports | awk '/Hardware Port: Wi-Fi/{getline; print $2}')


ipconfig getifaddr
usage: ipconfig getifaddr <interface name>

See also

Advertising: