ifconfig: command not found solution in Ubuntu / Debian / Centos
Below is a solution to the ifconfig problem: command not found. There may be times when network tools are not installed, i.e.. ifconfig, arp, netstat, rarp or route:
1 2 3 4 5 | -bash: ifconfig: command not found -bash: arp: command not found -bash: netstat: command not found -bash: rarp: command not found -bash: route: command not found |
Repair!
Ubuntu / Debian:
We run the terminal and install the package:
1 | sudo apt-get update |
1 | sudo apt-get install net-tools |
CentOS / RedHAT:
We run the terminal and install the package:
1 | sudo dnf install net-tools |
1 | sudo yum install net-tools |