ifconfig is a command used to configure network interfaces in Linux, BSD, Solaris, and Mac OSX. It displays the status of interfaces, including the IP address, subnet mask, hardware address, and packet transmission/reception statistics. It is used at boot to configure interfaces and can also be used to view interface information or manually configure addresses, change interfaces between up/down states, and set other parameters.