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]
    );