scan network for devices nmap code example
Example 1: scan entire network nmap
nmap -sP 192.168.1.0/24
Example 2: nmap scan network ip
sudo nmap -sP 10.10.0.0/24
Example 3: how to see how is connected to my wifi with nmap
sudo nmap -sn 192.168.1.0/24