view loocal ip mac code example
Example 1: find my ip mac terminal
ipconfig getifaddr en0
Example 2: how to get my ip address mac terminal
# First launch Terminal in Mac
#Then past code below:
ipconfig getifaddr en0
ipconfig getifaddr en0
# First launch Terminal in Mac
#Then past code below:
ipconfig getifaddr en0