in reply to Re: how to use perl variable in system command to run on unix
in thread how to use perl variable in system command to run on unix

I exceuted your lines like this but no result

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

filelist.txt is not written