用户7836960927 645天前 淮安
#!/bin/bash if [ "$# " -ne 2 ]; then echo "Usage: $0 start_ip end_ip" exit 1 fi # Define start and end IP addresses start_ip=$1 end_ip=$2 # Loop over IP range and check connectivity echo "IP\t\t\tStatus\t\tport 80" echo "============\t\t==========\t=========" for ((i=0; ...全文