Beefy Boxes and Bandwidth Generously Provided by pair Networks httptech
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: how to use perl variable in system command to run on unix

by tousifp (Novice)
on Sep 03, 2013 at 17:25 UTC ( #1052149=note: print w/ replies, xml ) Need Help??


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


Comment on Re^2: how to use perl variable in system command to run on unix
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1052149]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2014-04-20 14:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls