ubuntu18.04 出现 Command 'ifconfig' not found 问题的解决办法

我们在虚拟主机中查看ip地址需要输入ifconfig,但是报以下错误:

系统提示我们安装 net-tools,当我们输入以下命令,即可安装完成。

 sudo apt-get install net-tools

然后再输入命令ifconfig即可看到虚拟机的ip地址

posted @ 2018-06-19 10:49  没事儿写个bug  阅读(16368)  评论(0编辑  收藏  举报