how to find what ip address i have on a macbook code example Example: ip on mac ifconfig | grep "inet "