Question: ifconfig is not installed ubuntu?
Answer: Command 'ifconfig' not found in Ubuntu 18.04 You may install ifconfig utility by running sudo apt install net-tools or you may opt to use the new ip command. It is recommended to use ip utility which has a lot of options to provide you all necessary information about your network configuration.