ifconfig
returns command not found. Also running sudo /sbin/ifconfig
returns commmand not found. I am root. The output ofecho $PATH
is as below. ifconfig
is now ip a
./sbin
, which may be intended./sbin/ifconfig
.ls /sbin/ifconfig
), the command may just be not installed.net-tools
, which is not installed by default, because it's deprecatedand superseded by the command ip
from the package iproute2
.ifconfig
without options is replaced by ip
specifying the objectaddress
.show
, also to-s
(-stats
, -statistics
):26.1M
or 79.3k
and colors some relevant terms and addresses.ifconfig
in displaying the interface / address information using ip