I am new in qshell and would like to ask for assistance. I am trying to get the file count inside an IFS directory using below qshell command.
if(ls <<path>> | wc -l) -gt 0;
then echo correct;
fi
however im getting this error "token word not expected, expecting token "then". TIA