ifconfig: command not found
Hi
I have fedora 8 installed both on my laptop and desktop. When I typed ifconfig I receive this message bash: ifconfig: command not found When I used to find command to look for the file I receive this message find: ifconfig: No such file or directory But when I go to Places then Search for files, I found it under /sbin Anyway, I tried to execute it but nothing happen. What is exactly the problem? why I can not execute the ifconfig Please help |
Try "locate ifconfig".
"ifconfig" didn't work because it's not in your path. (echo $PATH) "find ifconfig" didn't work because you didn't give find any instructions. Read the manual. How about: /sbin/ifconfig |
Also, ifconfig should be in roots path, you could also try "sudo ifconfig" or "su - -c ifconfig"
particularly if you want to do more than just check the settings. |
As previous post have pointed out the issue is that ifconfig is not in your path. It resides in /sbin/ifconfig. You can either run /sbin/ifconfig each time, or you can add /sbin/ to your path. This can be done in a number of ways depending on your distro.
|
All times are GMT -5. The time now is 09:09 PM. |