get ip address linux

Shell
ifconfig -acurl ifconfig.me
Source

Also in Shell: