Ifconfig:command not found
View path configuration (Echo is equivalent to Console.WriteLine in printf,c# in C)
Solution 1: First look at whether the root user, if not on the SU switch to the root user
Su
Solution 2:(if you don't see/sbin) "We're obviously not the problem."
This is generally because the configuration is not ready, permanent solution:
Open a/etc/profile file where you'll enter Export path= $PATH:/sbin
Solution 3:(CentOS later changed orders, see if we are "Ipconfig==>ip")
Find name (name) in/(root directory) is Ifconfig
That means ipconfig really changed, calm down.
Look at the information
IP addr
Found the wood has (see 2:eth0 no IPv4)
Jump to/etc/sysconfig/network-scripts Directory
Cd/etc/sysconfig/network-scripts
Use VI to open the Ifcfg-eth0 (your may be eth1, or other, not every computer is this) "If you want to change this can refer to: http://jingyan.baidu.com/article/7f41ecec1b022e593d095c1e.html"
Press i to enter edit mode, modify the arrows, and press ESC to return to command mode, type : Wq and return
Reboot
Reboot
Enter after login with root user
IP addr
Success!!
Solution 4: (Network)
Http://blog.sina.com.cn/s/blog_946cb2b70100wx2j.html
Yum Install Setuptool installs setup, but only authentication configuration is available after installation using Run Setup.
If you want to configure IP, install system-config-network-tui .
Yum Install System-config-firewall-tui installs the graphical firewall configuration tool.
Yum List system-config* all installed.
Ifconfig:command not found (CentOS Special Edition, others can be consulted)