Help for this page

Select Code to Download


  1. or download this
    ...
    my @cmd = (cat => ( '/etc/passwd' ));
    
    open(IFILE, '-|', @cmd) || die "Bad ssh open";
    ...
    
  2. or download this
    ...
    my @cmd = (cat => ( '/etc/passwd' ));
    open (IFILE, '-|') || exec @cmd;
    ...