I wanted to setup a simple shell script "test3" with some commands inside.

I started the script with


When I call the script I got the error:

: bad interpreter: No such file or directorybin/bash

Hmm, why is there no such file ?

If I type at the shell:

echo $SHELL

then I got the reply:


Moreover /bin/bash exists!!

So how do I setup a shell script otherwise?

Am I forced to append a ".sh" extension?