my $cmd = 'cd /waslogs1/vfoneLog/cposapp && ls -lrt | grep -i "'. $grep_date. q(" | awk '{ print $9 }' > /home/cpos/CRM_Reports/output/filelist.txt); system $cmd;