Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Command Executing problem in perl.

by mantager (Sexton)
on Jun 27, 2012 at 12:57 UTC ( [id://978648]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    my @cmd = ('ssh', '-x', 'user@remotehost', '"ls -la > mylsfile"');
    my @output = qx/@cmd/;
    
  2. or download this
    my @cmd = (
       'ssh',
    ...
       '<server name>',
       q[mminfo -q "savetime>3/1/12,name=DISASTER_RECOVERY:\\\\" -av -ot -
    +r client >/home/rbr/clnts]
    );
    

Log In?
Username:
Password:

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

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

    No recent polls found