Hi,
I ran the scriipt but got these errors. I checked the ksh path and its in bin/ksh and usr/bin/ksh.
Code:
sh -x trymonitor.sh
+ 0< filepathinput.txt
+ read AGE PATH DELAY
+ cd /A/B/C/
+ 1> outputfiles.txt
+ ls
trymonitor.sh[12]: ls: not found.
+ + awk {print $1}
+ wc -l outputfiles.txt
trymonitor.sh[14]: awk: not found.
trymonitor.sh[14]: wc: not found.
final=
+ [ -ge 1]
trymonitor.sh[15]: test: A ] character is missing.
+ echo Everything's OK
Everything's OK
+ rm -f outputfiles.txt
trymonitor.sh[21]: rm: not found.
+ sleep 10m
trymonitor.sh[22]: sleep: not found.
+ cd -