1.ifconfig command sets or displays network interface program, can show the card information of our machines,
But sometimes minimize installation time and so on CentOS Linux distributions will not installed by default ifconfig commands,
This time you enter the terminal, run the ifconfig command will go wrong
Our CentOS inside is not installed ifconf.
2. Our solution is: yum install command ifconfig package. Command: yum search ifconfig
By this command yum search we found ifconfig This command is net-tools.x86_64 this package, then we install the package on the line, the command: yum install net-tools.x86_64
3. Use ifconfig command after the installation is complete, you can see ip address