how to find ip adress mac code example
Example 1: how to get my ip address mac terminal
# First launch Terminal in Mac
#Then past code below:
ipconfig getifaddr en0
Example 2: ip on mac
ifconfig | grep "inet "
# First launch Terminal in Mac
#Then past code below:
ipconfig getifaddr en0
ifconfig | grep "inet "