Click to See Complete Forum and Search --> : ifconfig, how to run?


Aribella
11-19-2000, 08:05 PM
I want to run "ifconfig" to check eth0 port.
When I do, I get "command not found".
In root "#", can see ifconfig under /sbin.
(some other commands don't work either, but many, like "date", do work)
I brought up the terminal window from the icon at the bottom of the screen (picture of monitor and foot)
What error am I making?

Strike
11-19-2000, 08:38 PM
Generally, /sbin isn't in most users' PATHs (meaning you can't just type something like ifconfig, located in /sbin and expect it to work). Just because it is there doesn't mean you can type its name and execute it. Programs have to be in your directory path in order to be "runnable" by just typing the command name. If they aren't, you have to type the full path. For your case, typing /sbin/ifconfig will most likely work just fine.

Aribella
11-19-2000, 09:28 PM
That worked fine. Thanks!
There's alot I don't know, but sure to learn more.