Zoki writes:
> On Thu, 28 May 1998 [EMAIL PROTECTED] wrote:
> ->On Thu, 28 May 1998, Zoki wrote:
> ->
> ->> First mistake was because of a wrong statement in the script. Next problem
> ->> is that it still doesn't work - even with chmod 755 and the dir in the
> ->> path - I still have to type ./myscript. Then it works okay. What's the
> ->> deal on this? Why doesn't it accept the PATH statement?
> ->
> ->what dir are you in when you do ./myscript? and try $PATH at the prompt
> ->to make sure that /usr/local/bin is in it and then double check to see if
> ->myscript is in /usr/local/bin. I've had probs before where dirs just
> ->disappear from my path, but thats prolly cuz i don't know what i'm doing
>
> Everything seems okay, and it still doesn't work. I am in any dir when
> trying to use the command.
What shell are you using? At least in (t)csh, you have either to use the
"rehash" command or to log out and log in again to get the shell to find new
programs. I don't know if bash behaves similar or not, maybe somebode else can
fill in here... :-)
HTH,
Thomas
--
-----------------------------------------------------------------------------
The opinions expressed | Analog Devices BV,
in this message are my | Raheen Industrial Estate, Limerick, Ireland
own personal views! | http://www.geocities.com/Paris/LeftBank/2575 (priv.)
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.