scan local network

sudo nmap -sn 192.168.1.0/24 > ~/Desktop/nmaplog.txt