$ ifconfig // get ip
// sudo apt install ipcalc
$ ipcalc <local ip> // get subnet
$ nmap 192.168.x.x/x <options>
// another way is
$ arp-scan -i <host>
Some Tasmanian Nerds Blog
$ ifconfig // get ip
// sudo apt install ipcalc
$ ipcalc <local ip> // get subnet
$ nmap 192.168.x.x/x <options>
// another way is
$ arp-scan -i <host>