Don't you have to make the script executable?

chmod +x <filename>

Andy

On Mon, 23 Feb 2004 10:29, you wrote:
> Hi, just trying a very simple hello world script
>
> #!/bin/bash
> echo Hello World
>
> saved as helloworld
>
> Trying to run this ./helloworld
>
> returns
>
> bash: ./helloworld: /bin/bash: bad interpreter: Permission denied
>
> whereis bash returns
>
> bash: /bin/bash /etc/bash/bash.rc /usr/share/man/man1/bash.gz
>
> This is the same whether logged in as root or not. What is happening
> here?

Reply via email to