Install ifconfig on debian 11 or 10, if command not found – Linux Shout

After installing Debian 11 Bullseye or 10 Buster, if you get ifconfig: command not found error while using it to check the system’s Ip-addresses, then here are the steps to solve the problem.
It is the command tool that is used on the Linux system to look for its current IP address and other information of the network.
Although we don’t need to install ipconfig, because we already have an inbuilt tool to check the ip-address that is:
Well, the ipconfig is missing because it has been decrypted and hence is not available, by default, anymore. And replaced by ip
Still, if you want it, then just need to install net-tools
The first thing is to do is running of system update command to refresh the system repo and install the latest available version of the already installed packages.
The network tool is available via net-tools that is available via the default-based repository for the Debian operating system. Hence, simply run:
By default, you won’t be able to use the command because it is not in the system path. If you don’t want to add it to the path then use- sbin/ifconfig
However, for ease, us the below steps:
Scroll to the end of the file and add:
Save the file by press Ctrl+O, Enter Key, and for exiting it Ctrl+X.
Add ifconfig to system path
Next, Close the Terminal and open it again.
After the installation, you can check out your network interface with ifconfig . In the given screenshot you can see, there are two interfaces. One interface is our lo or loopback (localhost). It is mainly used for diagnostics, troubleshooting, and connecting to servers running on the local computer. The first is enp0s3 , which is called ” eth0 ” on the physical computer.
ifconfig installation on Debian 11 or 10 linux
Other Articles:



Debian, Kali Linux, Ubuntu

“Decrypted”, surely not?

This site uses Akismet to reduce spam. Learn how your comment data is processed.
Linux Shout crafted as a part of our main portal H2S Media to publish Linux related tutorials and open source Software.


Compare items
  • Total (0)