According to 'Terra NovA' B. Loeding: While burning my CPU.
> 
> Ok... Dumb question but...
> I install a package and its dependancies.
> The executable is in /etc/games/
> I type in the filename but get the linux equiv
> of a DOS 'bad command or filename'.
> I'm puzzled so I copy it to /bin where I type in
> the filename again and it runs.

It will also run when you type ./filename in /etc/games or type
/etc/games/filename.

> 
> So two questions...
> Why isn't the present working directory in the path?
> What config file do I edit to place new directories
> in the path.

Edit your system enviroment file, normaly one of .profile .bash_profile
or /etc/profile /etc/bashrc In Redhat for the user "root" edit /etc/profile
add /etc/games to the PATH= line. Then make your console reread the file so
as to allow the changes to take effect.
 
echo $PATH will show the whole path enviroment.

> 
> Thanx.
> 
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Reply via email to