I'm a ✨ sparkly shellscript princess ✨ and you can be, too! Today I wrote about finding what's up on a private subnet (such as a LAN) quickly with ping. https://thornton2.com/unix/shellscript/find-ip-addresses-quickly.html
It's actually quicker than nmap:
$ time nmap -T5 -sP 192.168.0.0-255
17.90 real 0.08 user 0.06 sys
$ time findip 192.168.0
0.96 real 0.00 user 0.27 sys