The IP address of the nodes connected to the same network as you are has the same first 3 octets, only the last octet differs, So, first find the IP address of your system:
$ ifconfig
And then use nmap to get the IP address. Suppose the IP address of your system is 192.168.1.2, then the command will be:
$ nmap -sn 192.168.1.*
To know more join our Ethical Hacking Course today.