Command ‘ifconfig’ not found, but can be installed with: sudo apt install net-tools VM Ubuntu 解决方案 1、输入命令 sudo apt-get update进行更新 2、输入命令 sudo apt-get install net-tools 3、再次输入 ifconfig查看ip信息