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 192.168.0.0/24, 10.0.0.0/24 and etc. 
#scan 10.0.0.0/8 may take a long time, better avoid it, I didn't try 
nmap -sn 192.168.1.0/24 

发表评论

您的电子邮箱地址不会被公开。