Home  >  Article  >  Operation and Maintenance  >  How to solve the problem that centos cannot use ifconfig command

How to solve the problem that centos cannot use ifconfig command

尚
Original
2020-03-20 15:25:484478browse

How to solve the problem that centos cannot use ifconfig command

The ifconfig command is a program that sets or displays the network interface. It can display the network card information of our machine.

Recommended tutorial: centos usage tutorial

However, sometimes when minimally installing Linux distributions such as CentOS, ifconfig and other commands will not be installed by default,

When you enter the terminal and run the ifconfig command, an error will occur

How to solve the problem that centos cannot use ifconfig command

Solution:

Enter

yum install -y net-tools

in the terminal after successful installation You can use the ifconfig command.

Recommended related video tutorials: linux video tutorial

The above is the detailed content of How to solve the problem that centos cannot use ifconfig command. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn