Help for this page

Select Code to Download


  1. or download this
        my $cmd = "$ping $_ 2> /dev/null";
        print "Debug:  command is '$cmd'\n";
        my $ping_out = `$cmd`;
    
  2. or download this
    Debug:  command is '/bin/ping myserver02 2> /dev/null'
    
  3. or download this
        my $ping_out = `$cmd`;
        chomp ($ping_out);
        print "Debug:  ping results => '$ping_out'\n";