how to check my ip in ubuntu terminal code example Example: ip info on ubuntu $ systemd-resolve --status | grep Current