JOSE NG LEE wrote in a message to Mike Bilow:
JNL> typed: xfbb.sh
JNL> message: bash:xfbb.sh: command not found
JNL> typed: exec xfbb.sh
JNL> message: exec:xfbb.sh: not found
JNL> Can someone give me some hints to run an executable file in
JNL> Linux Redhat 5.2.
For security reasons, the current directory is not in the PATH of a privileged
user such as root. This is a feature, not a bug.
To run a program in the current directory, specify it explicitly:
./xfbb.sh
Of course, execute permission must be set for a shell script to be executed
directly, but I assume you are well aware of that.
-- Mike