my ip from ubuntu code example
Example: how to get ip address in ubuntu
Open your command prompt and type following command shown below and press enter
ifconfig -a
Open your command prompt and type following command shown below and press enter
ifconfig -a