Here’s how to list all the devices on your network using nmap.

nmap -sn 192.168.0.0/24

If nmap is not installed, install it.

yum install nmap
apt install nmap