how to check your ipv4 addres terminal 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: get ip address linux
curl ifconfig.me
# First launch Terminal in Mac
#Then past code below:
ipconfig getifaddr en0
curl ifconfig.me