how to check ip address of a ubuntu server code example
Example 1: ip address ubuntu
ip address show
Example 2: how to get ip address in ubuntu
Open your command prompt and type following command shown below and press enter
ifconfig -a
ip address show
Open your command prompt and type following command shown below and press enter
ifconfig -a