Examples (8)
Ping a specified host using ICMP if the user is allowed to, otherwise using TCP
nping example.comPing a specified host using ICMP assuming that the user is allowed to do so
nping --icmp --privileged example.comPing a specified host using UDP
nping --udp example.comPing a specified host on a given port using TCP
nping --tcp --dest-port 443 example.comPing a certain number of times
nping --count 10 example.comWait a certain amount of time between each ping
nping --delay 5s example.comSend the request over a specified interface
nping --interface eth0 example.comPing an IP range
nping 10.0.0.1-10made by @shridhargupta | data from tldr-pages