Thursday 3 May 2018

How to fix - ‘Ifconfig’ Command Not Found on CentOS 6.x



The network command line tool ifconfig is not installed by default on CentOS 6 Linux minimal installation. ifconfig command is available for most of the Linux distributions and can be installed from default repository. Follow the below steps to get installed the ifconfig command in centos 6.x.


Run the following command to install ifconfig tool:

[root@linuxcnf ~]# yum install net-tools
Loaded plugins: fastestmirror
……
Installed:
  net-tools.x86_64 0:1.60-114.el6
Complete!
[root@linuxcnf ~]# 

Run the follow command to verify the command:

[root@linuxcnf ~]# which ifconfig
/sbin/ifconfig
[root@linuxcnf ~]# 

The installation is done!!!

No comments:

Post a Comment