why net tools is not installed ubuntu code example
Example 1: ifconfig not found ubuntu
#installation
$ sudo apt install net-tools
#Then use it
$ ifconfig
Example 2: install ifconfig on ubuntu
apt-get update
apt-get install net-tools
#installation
$ sudo apt install net-tools
#Then use it
$ ifconfig
apt-get update
apt-get install net-tools