Linux ifconfig command help and examples
Examples ifconfig. Running ifconfig with no options displays the configuration of all active interfaces.. ifconfig -a. Displays the configuration of all interfaces, both active and inactive. ifconfig eth0. View the network settings on the interface eth0, which (under Linux) is the first Ethernet adapter installed in the system.. ifconfig eth1 up