I need to find out 3 files in my UBM unix directory,if any one(CMUSER) file is available means,then i need to exit from my unix script,
Below is my unix shell script logic. Why am I getting compilation error?
cd /$UBCS
if [ -f /$UBM/CSUSER.LOCKED -o -f /$UBM/CSUSER.START]
-o f /$UBM/CSUSER.UPDATE ];
then
exit;
fi
my compilation error below
Enter script to execute: atm-autopbf
/rd23/gilbat/R2016/ubcs/atm-autopbf[38]: test: 0403-021 **A ] character is missing**
.
/rd23/gilbat/R2016/ubcs/atm-autopbf**[39]: -o: **not found.****
Not running C/S (SHELMATE MAXSESSIONS=0). Aborting ...
Press <ENTER> to continue: