ifconfig is a Unix-based utility used to gather information about and interact with the TCP/IP settings on a system. [1]
ifconfig can be used to display adapter configuration on Unix systems, including information for TCP/IP, DNS, and DHCP.