In Windows operating system you can use ipconfig command to view ip address of a system. In Linux ifconfig command can be used to view ip address of an system. ifconfig can be to used to manage and configure network setting on Linux system.
View details ip address details network interface
This is basic ifconfig usage where displayed details show Ethernet network interface as eth , Wireless interface as wlan and loopback service as lo. Each displayed will have number displayed at its end like eth0, eth1 and eth2 or wlan1, wlan2 and wlan3, this number distinguishes multiple interfaces from one another.
View details of only specific network interface
To view ip address of Linux system for only specific network interface use interface name along with ifconfig command as an argument.
Checkout below articles to view detailed ifconfig usage