If typing ifconfig is too simple for you here it is the geeky way to get the ip of your interfaces.
ifconfig | sed -n "/en0//netmask/ p" | grep "inet " | awk '{print$2}' copy to .bash_profile:
alias getip='ifconfig | sed -n "/en0//netmask/ p" | grep "inet " | awk ''{print\$2}'''