Difference between revisions of "Ipconfig getifaddr"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
== Related == | == Related == | ||
* [[ip a s]] | * [[ip a s]] | ||
+ | * [[networksetup -listnetworkserviceorder]] | ||
== See also == | == See also == |
Revision as of 10:20, 20 September 2023
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>
Related
See also
Advertising: