Home  >  Article  >  Operation and Maintenance  >  Unable to use ifconfig command after centos mini-installation

Unable to use ifconfig command after centos mini-installation

王林
王林Original
2020-03-18 14:52:462383browse

Unable to use ifconfig command after centos mini-installation

Cause:

Ifconfig related tools are not installed.

Solution:

1. Execute the command

yum provides ifconfig

(Recommended tutorial: centos usage tutorial)

2 , execute the command

yum install net-tools

and finally enter the ifconfig command to test. The results are as follows:

Unable to use ifconfig command after centos mini-installation

Here you can display the version of the net-tools package and view it. Information related to the IP address.

Recommended related video tutorials: linux video tutorial

The above is the detailed content of Unable to use ifconfig command after centos mini-installation. 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