Stoopid script failure

Todd Zullinger tmz at pobox.com
Sat Feb 6 15:26:39 UTC 2010


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.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I am not young enough to know everything.
    -- Oscar Wilde (1854-1900)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20100206/fda8bd09/attachment.bin 


More information about the users mailing list