Try running /bin/bash helloworld
Phil.
On Mon, 23 Feb 2004, Patrick Dunford 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?
>
>
>
--
Philip Charles; 39a Paterson Street, Abbotsford, Dunedin, New Zealand
+64 3 488 2818 Fax +64 3 488 2875 Mobile 025 267 9420
[EMAIL PROTECTED] - preferred. [EMAIL PROTECTED]
I sell GNU/Linux & GNU/Hurd CDs. See http://www.copyleft.co.nz