ubuntu show ip information code example
Example 1: how to get ip address in ubuntu
Open your command prompt and type following command shown below and press enter
ifconfig -a
Example 2: ip info on ubuntu
$ systemd-resolve --status | grep Current