Error: /usr/sbin/ifconfig: No such file or directory [SOLVED]
- These instructions are intended specifically for solving the error: /usr/sbin/ifconfig: No such file or directory
- I’ll be working from a Liquid Web Self Managed CentOS 7 server, and I’ll be logged in as root.
There are several commonly used, but deprecated, Linux networking commands, including: arp, ifconfig, iptunnel, iwconfig, nameif, netstat, and route. Here, we deal with what to do if you run across the error specific to ifconfig: /usr/sbin/ifconfig: No such file or directory.
ip a
or
ip addr
Both display details on all network interfaces, just as ifconfig would.
As a matter of best practice we’ll update our packages:
yum -y update
Then let’s install ifconfig, which is a part of the package net-tools, and any other required packages:
yum -y install net-tools
Related Articles:
![Avatar for J. Mays](/static/b9bfb850e038ebe4b3c49dd278744eee/9ca7a/b0da076b6e8552394da33fe3381a19fc.png)
About the Author: J. Mays
As a previous contributor, JMays shares his insight with our Knowledge Base center. In our Knowledge Base, you'll be able to find how-to articles on Ubuntu, CentOS, Fedora and much more!
Our Sales and Support teams are available 24 hours by phone or e-mail to assist.
Latest Articles
How to Upload Information to VMware through SFTP
Read ArticleAccessing Man Pages on Ubuntu 16.04 LTS
Read ArticleTLS vs SSL: A Comparison
Read ArticlePremium Business Email Pricing FAQ
Read ArticleMicrosoft Exchange Server Security Update
Read Article