how to check ip address in ubuntu from terminal code example
Example 1: ip address ubuntu
ip address show
Example 2: ip info on ubuntu
$ systemd-resolve --status | grep Current
ip address show
$ systemd-resolve --status | grep Current