LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   certain commands aren't working on the terminal (https://www.linuxquestions.org/questions/mandriva-30/certain-commands-arent-working-on-the-terminal-269294/)

bariswheel 12-22-2004 04:05 PM

certain commands aren't working on the terminal
 
ifconfig, etc. These commands are not working under terminal. I am trying to find certain information such as the mac address of my orinoco pc card...

Do I have to be root to run some of these commands? I wouldn't assume so, since I would have something else told to me insteaod of 'command not found'

bariswheel 12-22-2004 04:06 PM

kde help center
 
I'm also wont to download all the documentation for the KDE help center, this is my next mission...don't think this will be hard.

bariswheel 12-22-2004 04:09 PM

the KDE help center is awesome, I think I'll have a lot of questions answered here...I like the layout as well, very elegant to the point

drj000 12-22-2004 04:23 PM

Re: certain commands aren't working on the terminal
 
Quote:

Originally posted by bariswheel
ifconfig, etc. These commands are not working under terminal.
That's probably because they're in /sbin, and not in /bin. ifconfig is one that's like that. /sbin isn't in a normal users PATH by default. Usually only the root accout has /sbin in its PATH. Try /sbin/ifconfig. That should work.

bariswheel 12-22-2004 04:35 PM

Indeed. That worked. Thanks a bunch.

It would be nice, though, for all commands to work for me...instead of knowing bits and pieces of information to know how to run these commands...I'm assuming most commands, like listing processes, monitoring, and other commands, you'd have to run it in /sbin or another directory?


All times are GMT -5. The time now is 03:32 AM.