Redhat AS 3, shell/script question
When trying to run a backup script titled hotbackup.sh it gives an error: bash: hotbackup.sh: command not found. If I run sh hotbackup.sh it runs fine. The 1st line of the script is #!/bin/ksh and I verified that the path is correct. I have tried changing this to bin/sh or #!/bin/bash with no help, same error. Again, if I type sh before the name of the script, it runs fine. Does anyone know a solution to this? Sorry if this is a newbie type question.
Any help would be greatly appreciated.