Hi Dean,
Likely your system is set up (properly so) without the current
directory in the path.
To invoke a shell script named, say, foo.sh, type this:
./foo.sh (Notice the leading dot-slash) and it should run. This
indicates that the script is in the current directory: dot represents
the current directory, slash is the pathname separator.
====Keith
--- Dean Steichen <[EMAIL PROTECTED]> wrote:
> Is there some option I need to set to invoke a bash script?
>
> I have created a script with the #!/bin/bash as the first
> line and have chmod +x scriptname to make it executable but
> it will not execute unless I issue the "bash scriptname"
> command (preceed the scriptname with the command bash).
> Is this normal?
>
> --
> Dean Steichen
> Mandrake 7.1 K-Mail
> [EMAIL PROTECTED]
>
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/