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