2 examples for fping

{{ score }}
  # fping -a = show Alive systems -g Generate target list, you can also use netmask: 192.168.1.0/24
fping -a -g 92.168.1.1 192.168.1.254
        
{{ score }}
  # fping -i 1 -r 1 -q -a -g 10.0.0.0/24
fast fping command that shows only alive hosts:
-i --interval   Time in msecs between sending pings 
-r --retry	Retry limit, number of attempts pinging a target
-q --quiet	Don't show error messages
-a --alive 	Show alive hosts
-g --generate   Generate target list, "10.0.0.0/24" or "10.0.0.1 10.0.0.254"
# sudo fping -i -r 1 -q -a -f targets.txt
Same as above except
-f  --file	Targets to ping are read from a file. You need to be root or do fping < targets.txt

To show the hostnames via reverse dns lookup add
-n  --names	Reverse DNS lookup on IP
-d  --rdns	Forces dns lookup even if hostname was used as target