December 2018
Beginner
320 pages
8h 57m
English
This is an older command used to display or modify the current configuration of network interfaces. The usage of ifconfig command is now obsolete and it is replaced with the newer ip utility. Now, the ip addr and ip link commands are preferred to display network interface information in place of ifconfig.
The following table lists the popular options of ifconfig with their descriptions:
|
Command |
Description |
|
$ ifconfig |
Display the current configuration of active interfaces only |
|
$ ifconfig -a |
Display all interfaces information which are available in system, whether they are active or inactive |
|
$ ifconfig eth0 |
Display the configuration of the specified interface eth0 |
|
$ ifconfig eth0 up |
Activate ... |
Read now
Unlock full access