Get the App
SLTechnology News&Howtos  ›  Servers  › 

What should centos7 do without the ifconfig command?

Shulou Source: shulou.com Published: 2022-06-01 12:14:28 10月04日 Update

This article mainly introduces "what to do without ifconfig commands in centos7". In daily operation, I believe many people have doubts about what to do without ifconfig commands in centos7. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts of "what to do without ifconfig commands in centos7". Next, please follow the editor to study!

The common command for linux system to check the ip address is [ifconfig]. What if there is no ifconfig command for the minimum installation of CentOS 7.0? Of course, you can view it with [ip addr]; another way is to install the ifconfig command.

1. Enter the [yum search ifconfig] command to check that the command package to which ifconfig belongs is net-tools.x86_64.

2. [yum install net-tools.x86_64] install the command package, ask "Is this os [y/d/n]", press enter y, and Complete completes the installation.

3. Enter [ifconfig] to view the installation results.

At this point, the study on "what to do without ifconfig commands in centos7" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Tags: Commands what to do learning methods more help input practical minimum next address that is commonly used results ownership articles theories knowledge articles systems Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker NVidia MySQL Huawei macOS