I want to run program directly such as ./program
without define the interpreter in shell first. so, how can i want to prevent this error?
bad interpreter: Permission denied
My operating system is redhat - CentOS release 5.6 (Final)
root@server [/tmp/mechanize-0.1.7b]# ./functional_tests.py
-bash: ./functional_tests.py: /usr/bin/env: bad interpreter: Permission denied
root@server [/tmp/mechanize-0.1.7b]#
root@server [/tmp/Python-2.7.1]# ./configure
-bash: ./configure: /bin/sh: bad interpreter: Permission denied
root@server [/tmp/Python-2.7.1]#