mac ipconfig get ip address code example
Example 1: ip on mac
ifconfig | grep "inet "
Example 2: get ip of mac
Use for wireless
ipconfig getifaddr en1
or for ethernet
ipconfig getifaddr en0
ipconfig getifaddr en0 is default for wifi interface.
Example 3: where to find the mac address from ipconfig /all
type on command -> ipconfig/all