how to go ip address on mac terminal command code example Example: find my ip mac terminal ipconfig getifaddr en0