1) have a root privilege shell or be on the sudo list.

2a) At a root shell prompt (#)

yum install net-tools

2b) User account on the sudo list

sudo yum install net-tools

If the package is installed it will state so and exit yum. (Then it sounds like a path issue). If not installed yum will prompt the user to continue after a few local / network package checks. The install will (should) take but a moment.. presto ifconfig is now installed.

If you feel adventurous.. The equivalent of using ifconfig in displaying the interface / address information using ip

ip addr 
 

相关文章:

  • 2022-02-08
  • 2021-05-15
  • 2021-08-17
  • 2022-12-23
  • 2021-09-23
  • 2021-08-20
  • 2021-04-15
  • 2021-08-14
猜你喜欢
  • 2021-04-25
  • 2022-02-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-29
相关资源
相似解决方案