nmap -v -sn 192.168.10/25 -oG - | awk '/Up$/{print $2}'
nmap: The network mapper tool, used for scanning hosts and networks.
-v: Enables verbose output, giving more detail during the scan.
-sn: Stands for "ping scan" — it disables port scanning and only checks which hosts are up (i.e., responding to ping or ARP).