Click to See Complete Forum and Search --> : Strange shell under RH7(KDE)


Stormrider888
01-20-2001, 02:35 PM
Well, I've been trying many other Distributions so far, but RedHat has a strange shell.I mean that black monitor on the taskbar, that I can run to open a window like the DOS-prompt.
The strange thing is I cant run common programs like hdparm or Lilo, I execute them in /Sbin , but they say "command not found"
although they are present.
In madrake or Suse this method works fine, any idea?
I used custom Installation, did I missed any packages?

Muzzafarath
01-20-2001, 02:50 PM
Ugh, please don't call the xterm a DOS prompt http://www.linuxnewbie.org/ubb/wink.gif

Okay, when you enter /sbin, you must start the programs with ./ infront of them so that the shell will know where to look. So the xterm would look something like this:


# cd /sbin
# ls | grep lilo
# lilo
# ./lilo


You must also be root to be able to run most of the programs in /sbin.

[This message has been edited by Muzzafarath (edited 20 January 2001).]

Stormrider888
01-20-2001, 03:51 PM
It works!! Thx a lot!
But why is it different under Mandrake?
In mandrake shell I just type LILO, no matter in which folder I'm located in, wirthout that ./ thing
Did I missed a package?
Btw sorry for my bad comparison...

idealego
01-20-2001, 04:27 PM
Under Mandrake 7.2 I get this which explains why. /sbin is in the path

# echo $PATH
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin