bash: ifconfig: command not found code example
Example 1: ifconfig command not found
sudo apt-get install net-tools or sudo ifconfig
Example 2: linux install ifconfig
apt-get install net-tools
Example 3: ifconfig not found
sudo yum install net-tools