How to Solve Linux Error: ifconfig command not found

1. An error is reported when inputting ifconfig command in Linux: ifconfig command not found

Ifconfig may not be installed. If not, install it

2. Check if ifconfig is missing. It is in/usr/SBIN directory

root@localhost ~]#Ll/usr/SBIN

check if there is ifconfig

if there is no ifconfig, install the net tools package

[ root@localhost sbin]# sudo yum install net-tools

 

Similar Posts: