Ubuntu – The command could not be located because ‘/sbin’ is not included in the PATH environment variable

ifconfiglxterminal

I have a severe problem today: when I type ifconfig it does not show ip configuration on ubuntu 12.04. Can anyone help me on this?

Here is the result of ifconfig:

Command 'ifconfig' is available in '/sbin/ifconfig'
The command could not be located because '/sbin' is not included in the PATH environment variable.
This is most likely caused by the lack of administrative privileges associated with your user account.
ifconfig: command not found

Best Answer

Try this command :

sudo ln -s /sbin/ifconfig /usr/bin/ifconfig
Related Question