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

How to solve the problem that centos cannot use ifconfig command

Release: 2020-03-20 15:25:48
Original
4566 people have browsed it

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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template