This is the newer version of ifconfig command.
Sample syntax of IP command :
# ip a or ip addr
You can get details of specific interface.
You can find IP address of all three differently, use command
# ip a show eth0
# ip a show lo
# ip a show wlan0