CentOS7 Execute ifconfig command not found no commands found

Source: Internet
Author: User

Question: Just learn Linux just follow the network installed CENTOS7 after the login successfully entered Ifconfig, dumbfounded [[email protected]~]# ifconfig -bash:ifconfig: Command not found

Workaround:

This is a newly installed system, how can not find familiar with the ifconfig command? Search online, a lot of people are talking about environmental variables, but I am sure that my/etc/profile set is right, and finally found an article that is installed under the Net-tools is good

[Email protected]bogon~]# yum Install Net-tools

Wait for the system to download some packages

base                                                                                                                                                                                                     | 3.6 kb  00:00:00     
extras                                                                                                                                                                                                  | 3.3 kb  00:00:00     
updates                                                                                                                                                                                                 | 3.4 kb  00:00:00     
updates/7/x86_64/primary_db                                                                                                                                                                             | 2.8 mb  00:00:08     
Determining fastest Mirrors


Wait for the system to return to [[email protected]bogon~] #状态时候; Enter ipconfig to view the IP address, and then use the Putty connection is completely OK;


CentOS7 Execute ifconfig command not found no commands found

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.