My network includes machines running linux and others running windows And my machine runs linux
Type in terminal.
sudo nmap -sn <Your LAN Subnet>
sudo nmap -sn 192.168.1.*
You can find your LAN subnet using ip addr command.
It will show the name of all lan hosts whether it's linux or windows You can also see mobile phones if they're present in the lan network You need to make sure that you run the command using sudo or root