Help for this page

Select Code to Download


  1. or download this
    $connection->send("$cmd\r");
    if(length($cmd) > "25")
    ...
    $connection->expect($timeout, $prompt);
    $data = $connection->exp_before();
    print "Command DATA: \n$data\n";
    
  2. or download this
    cat /etc/testfile | awk '{ FS = ":" ; print $1 }' | grep -v '^[#*]' | 
    +grep -v '^$'
    
  3. or download this
    
    ":" ; print $1 }' | grep -v '^[#*]' | grep -v '^$'          <
    Command output 1
    (... SNIP ...)Command output xx