scan network for deviceces ubuntu code example
Example 1: nmap scan ubuntu
sudo nmap 192.168.0.1
Example 2: how to see how is connected to my wifi with nmap
sudo nmap -sn 192.168.1.0/24
sudo nmap 192.168.0.1
sudo nmap -sn 192.168.1.0/24