In Unix and Linux operating systems, device setup (ifconfig) is a command-line utility tool for configuring network interfaces. If you try to access your network settings with the ifconfig command on most newly installed Linux systems, you will get an error message i.e. Ifconfig Command Not Found. Don't worry about this error, here in this article we will help you to eliminate the error message.
How to solve the ifconfig Command Not Found error
Install the net-tools kit on your device to correct the ifconfig not found error. Open a terminal window and type net-tools.
$ sudo apt-get install net-tools
Suppose you didn't want to use the ifconfig command to look at the network settings. The IP command is another choice for inspecting network settings on your Linux system.
To view a network configuration using the IP command, run the following commands:
# ip address
The IP order above can be shortened to:
# ip a
Now you know how to fix the ifconfig command not found error. You can config the ifconfig command as part of the net-tools kit if you still want to use it as part of your regular system admin routine. Otherwise, you can look at the network setup with the IP button. We hope that our given information will help you to tackle the error message without having any trouble.
People are also reading: