Help for this page

Select Code to Download


  1. or download this
               
    #!/usr/bin/perl -w
    use Net::Telnet;
    ...
    my @lines=$telnet->cmd('ps -ef');
    print @lines;
    ~
    
  2. or download this
    
    ~#!/usr/bin/perl -w
    ...
     $output = $telnet->waitfor('/\$ $/i');
     print $output;