ifconfig error: command not found

Found on the Internet tips for configuring networking on Linux, which include using the ifconfig command. But it says to me that “bash ifconfig command not found”. I do not understand what the problem is, everything is simple in the video.


Hello! ifconfig error: command not found (ifconfig command not found) is a common error. Most likely, there is simply no access to it, and the operator itself is outdated.

What should be done:

  • Run sudo ifconfig as root. This will download directories that were not accessed.
  • Install the utility. It may simply not be due to obsolescence. To install it, on CentOS type sudo yum install net-tools, on Ubuntu type sudo apt install net-tools.
Notify of
Inline Feedbacks
View all comments