Q5
Single choice
Refer to the UNIX shell script below. Which one of the statements is true?
dir=/var/adm/CSCOpx/files/rme/dcma/devfiles
log=/tmp/removeDcmaFiles.log
echo "Starting removeDcmaFiles cron job `date`" >> $log for i in `ls $dir`; do
 length=`ls -lrt $dir/$i/PRIMARY/RUNNING/ | wc -l`
 h=`expr $length - 3`
 for j in `ls -rt $dir/$i/PRIMARY/RUNNING/ | head -$h`;do  echo "rm -rf $dir/$i/PRIMARY/RUNNING/$j"
>> $log
ÂÂ rm -rf $dir/$i/PRIMARY/RUNNING/$j
 done
done