how to show ip address in terminal unontu linux command code example Example: ip info on ubuntu $ systemd-resolve --status | grep Current