when you get the message "bad interpreter" here it means that your shell
was not able to find the command specified at the to of the file
(the first line should be "#! /bin/sh"). If for some reason /bin/sh
does not exist on your system you could either make /bin/sh a link
to bash (cd /bin; ln -s bash sh) or change the line to "#! /bin/bash".
Which version of redhat is it? I can't imagine /bin/sh being absent
but I don't have anything older than rh7.1 to look at.