I am running a shell script on my server. Below is the script: #!/bin/bash#----- cd /change working directorycd /Net/Groups/BGI/people/sbesnard/PhD_MPI/RO1/Rproject/Landsat_Processing/Scripts/ulimit -c 0#----- specify the R-Script, commandline argument $1 has precedence# get the error messages in englishexport LANG=en_US# only one thread, no automatic distributed computingexport OMP_NUM_THREADS=1export BGC=PGIRFILE=1.TC_Component_Calculation.Rif [ $# -ne 0 ]; then  RFILE=$1fi#echo $RFILE#echo Rout/`basename $RFILE .R`.routecho $RFILEDATUM=$(date '+%d_%m_%Y_%Hh%Mm') FOLDER=${DATUM}_${LSB_JOBNAME}NUMPROC=$LSB_MCPU_HOSTSecho $DATUMmkdir /Net/Groups/BGI/scratch/sbesnard/Rout/Rout_TC_Calc/$FOLDER #--------- execute R/usr/local/apps/R/R-3.2.2/bin/R CMD BATCH  --vanilla --args $FOLDER $NUMPROC $RFILE /Net/Groups/BGI/scratch/sbesnard/Rout/Rout_TC_Calc/$FOLDER/${LSB_JOBNAME}.routHowever, I have this error message but have no idea on how to fix it./User/homes/sbesnard/.lsbatch/1476445696.215609: line 8: bsub_TC_calc.sh: command not foundAny idea from where the error is coming from? 
command not found in shell script
shell script