The default output of the ifconfig
command on GNU+LINUX displays only active and up network interfaces while the default output of the ip address
command (which can be shortened as ip a
) shows all network interfaces including inactive and down interfaces.
What is the ip address
command equivalent to show only active and up network interfaces like the default output of the ifconfig
command?