Linux虚拟机ifconfig提示command not found解决办法

今天无聊装了个Linux虚拟机
  系统iso下载地址
版本为CentOS 7 64位
刚装完查ip的时候提示

[root@localhost ~]# ifconfig
-bash:ifconfig:command not found

解决办法

安装:net-tools

yum install -y net-tools

再次执行ifconfig命令就好了

小记一哈.

风影OvO

风影OvO, 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA 4.0协议进行授权 | 转载请注明原文链接

4 Comments

  • #include
    int main(void){
    printf(“那你屌啊!\n”);
    return 0;
    }

    • @噶哥

      echo '最基本的,求你了';
  • 牛逼啊

留下你的评论

*评论支持代码高亮<pre class="prettyprint linenums">代码</pre>

相关推荐