Re: Bad Interpreter
> Does anyone know why i get the messages
> "bad interpreter"?
Hi, i had this problem, too!
There are two reasons for an errormessage like
"bad interpreter -- no such file or directory"
Both relate on the first line of the script:
Okay one reason could be that your "bash" is not in /bin/ (but thats very unusual) or that you don't have a bash-console.
The second reason could be, that you have downloaded the script via your windows-Computer and copied it to your linux-server .
If this hapened, then you have on each line a CR and a LF ("carriage return" and "line feed").
But your Linux understands just the CR .
So you need to transform your script into unix-format with a program like dos2unix or you download the script with your linux-machine directly.
I hope that will help