for ip in 192.168.1.{1..254}; do for port in {21,22,80};do nc -zv -w 1 $ip $port &> /dev/null && echo "$ip at Port $port is up" || echo "$ip at port $port is down";done;done
Network Security don't live online without it....
Network Security don't live online without it....