Home > Article > Operation and Maintenance > 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
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!