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

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

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

 sudo apt-get install net-tools

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

猜你喜欢

转载自www.cnblogs.com/swjian/p/9197543.html
今日推荐