Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Linux can't be solved with ipconfig.

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article introduces the relevant knowledge of "linux can not be solved with ipconfig". In the operation of actual cases, many people will encounter such a dilemma. Next, let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Solution: 1, check whether there is ifconfig under "/ sbin", if not, the system is not installed; 2, execute "yum search ifconfig" to search ifconfig package; 3, execute "yum install net-tools.x86_64" command to install.

The operating environment of this tutorial: linux5.9.8 system, Dell G3 computer.

The toolkit was not installed when you just installed the Linux system. When you enter the terminal, running the ifconfig command will make an error, indicating that the command cannot be used.

The ifconfig command in linux cannot be used as a solution

1. Check whether there is an ifconfig command under the / sbin path.

The results show that there is no ifconfig command under the root user / sbin path, so the ifconfig command is not installed in linux.

2. Install the ifconfig command

Execute code: yum search ifconfig

Through the yum search command, we found that the ifconfig command is in the net-tools.x86_64 package, and then just install the package.

Execute code: yum install net-tools.x86_64

Execute the code: ifconfig to check if the installation is successful.

At this point, the ifconfig command is installed, and you can see your network card information.

This is the end of the content of "linux can't be solved with ipconfig". Thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report