Find devices ip/ips in your lan in a few seconds using linux/unix terminal

  • fennng 

Run two commands in your terminal, and that is it.

brew install nmap 
#using the following command to install nmap under ubuntu/debian 
#sudo apt-get i nmap 
#change your ip range accordingly, common ones are, and etc. 
#scan may take a long time, better avoid it, I didn't try 
nmap -sn