echo Public IP- curl -s icanhazip.com echo echo Local IP- ifconfig | grep "inet" | grep "broadcast" | awk '{print $2}'