大家都知道在linux上查看ip信息是ifconfig,但是我今天在虚拟机上安装了centos7,用ifconfig,提示ifconfig无效,于是上网查询,找到解决办法,步骤如下:

 

1) cd /etc 进入文件夹

2) vi profile 

3)文件末尾添加export PATH=$PATH:/sbin


centos7 下ifconfig 无效解决发难
 

 

相关文章:

  • 2021-11-28
  • 2021-04-25
  • 2021-11-19
猜你喜欢
  • 2021-08-20
  • 2021-10-29
  • 2021-12-17
  • 2022-12-23
  • 2021-08-30
  • 2021-05-24
  • 2022-12-23
相关资源
相似解决方案