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