Help for this page

Select Code to Download


  1. or download this
    use Net::OpenSSH;
    my $ssh = Net::OpenSSH->new(...);
    
    my $out_fh = $ssh->pipe_out("egrep -l $searchStr * 2>&1 | tee ~/myfile
    +.txt\n");