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

<pre lang="bash">
nmap -sn 192.168.0.0/24

If nmap is not installed, install it.

<pre lang="bash">
yum install nmap
apt install nmap