Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by tousifp (Novice)
on Sep 03, 2013 at 16:47 UTC ( [id://1052143]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $cmd=q(cd /waslogs1/vfoneLog/cposapp && ls -lrt | grep -i "$grep_da
    +te" | awk '{ print $9 }' > /home/cpos/CRM_Reports/timelogic/filelist.
    +txt);
    
    my $files=system($cmd);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2024-04-25 06:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found