Todd Zullinger wrote:
> Patrick O'Callaghan wrote:
>   
>> Can anyone explain why this doesn't work? I've been writing shell
>> scripts on and off for several decades and I can't see what's going on
>> here. Is senility setting it?
>>     
>
> It may be, but it brings with it many benefits -- like being able to
> eat dessert twice because you "forgot" you'd had cake already. ;)
>
>   
>> $ tst
>> bash: ./tst: Permission denied
>>     
>
> '.' is not in $PATH (by default and for good reason), so you must
> specify ./tst to run the script.
>
>   
I did retract what I had said earlier...and tested on my system here....

If '.' is not in my PATH I get...

[egres...@f12 x]$ type tst
-bash: type: tst: not found

Added to the end of my PATH results in ....

[egres...@f12 x]$ type tst
tst is ./tst

[egres...@f12 x]$ tst
foo





-- 
Will the third world war keep ``Bosom Buddies'' off the air?

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Reply via email to