I wrote the below small shell script. However when i run it am getting the error ctrlM_chk_input_file.sh[5]: find:  not found but I thought the backtics will make the find statement to be run as a unix command. Am I missing something?PATH=/main/nedcor/flexcubecd $PATH'pwd'DIR_LIST=`find . -name INPUT`for INPUT_PATH in $DIR_LISTdo    RESULT=`ls -A $INPUT_PATH | grep -v BKUP`    echo $RESULT     if [ -z $RESULT ] ;    then         echo No Files found        exit 0    else        echo file $RESULT found        exit 1    fidone
find statement inside backticks not recognised inside shell script
shell script
PATH is a magic variable that tells the shell where to find executables.  You changed that to just your directory, which does not have a find executable.If you use a different name it should work