问题如图: 原因:系统没有安装ifconfig指令 解决方法:使用sudo apt install net-tools进行安装
sudo apt install net-tools
安装成功后,就可以看到执行成功了