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