You are on page 1of 1

TL/DR: ifconfig is now ip a.

Your path looks ok, but does not include /sbin, which may be intended.
You were probably looking for the command /sbin/ifconfig.
If this file does not exist (try ls /sbin/ifconfig), the command may just be not
installed.
It is part of the package net-tools,
which is not installed by default, because it's deprecated
and superseeded by the command
ip from the package iproute2.
The function of ifconfig without options is replaced by ip specifying the object
address.
ifconfig
is aequivalent to
ip address
and, because the object argument can be abbreviated, also to
ip a

You might also like