how to get ip address in ubuntu

Shell
Open your command prompt and type following command shown below and press enter

ifconfig -a
Source

Also in Shell: