ifconfig!! Command not found!!
Hi to all !!
i tried to do an 'ifcofig' in my newly installed FC3 box, and it says bash:ifconfig:command not found What is the possible cause and what do i need to do? Thank you, Regards Azzath. |
The command is ifconfig so make sure you spelled it correctly. It is also a system command that is not intended to be run by normal users, so if you are logged in as a user besides root or you used su without a - (dash) at the end then it will not be in your path but you can try /sbin/ifconfig.
|
sounds like you haven't installed nettools (if ifconfig isn't in your /sbin folder).
it's on one of the distro cds somewhere in an rpm - something like net-tools-1.xx.xx.rpm, just do an rpm install on that file. hth. john |
Thanx Darin and john,
I misspelled it in here but i did spell correctly on the terminal,and i was a root when i did it, anyway.. When i did /sbin/ifconfig then it did show the configuration. but why do i have to go to /sbin to do an ifconfig? why is it in my Mandrake box when i just typed in ifconfig then it worked straight away? I can do an alias to get this work but i didn't do any aliasing for the mandrake box.. Just curious? Thanx guys. Take care. Regards Azzath |
Quote:
|
Check to see that /sbin is in your $PATH variable as root. If not, add with
PATH=$PATH:/sbin/ and that should fix it. |
All times are GMT -5. The time now is 02:10 PM. |