Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Use the ping command to detect ip

Shulou Source: shulou.com Published: 2022-06-01 06:40:58 10月03日 Update

Cat ~ / ping-thread-net.sh #! / bin/bashPING () {(> / tmp/downip_list > / tmp/upip_list ping $1-W1-C1-Q > / dev/null 2 > & 1 if [$?-ne 0]; then echo $1 > > / tmp/downip_list else echo $1 > > / tmp/upip_list fi) &} for ip in `seq 1 254`doping 192.168.86.$ipdone

Tags: Commands detection Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Huawei vpn MariaDB Microsoft