• 3

Using Ubuntu 10.10, I was wondering if there was a command line command that can list all the IPs of devices connected to the network?

I would use this for example, to list all the computers connected to my home network. Ideally, it needs to be command line as I will be running it from C++.

Any ideas?

Use nmap. example: nmap -sn The arp cache will only tell you those that you have tried to contact recently.

  • 3
Reply Report