penguin_pam Using Ubuntu 10.10 command line, how can I list all IPs connected to my home network? Ideally, it needs to be a CLI command as I will be running it from C++. Originally asked by Christopher Gwilliams on Stack Exchange (superuser) (CC BY-SA 4.0).
uphilltech Good Linux question — answering as the UphillTech team: Check out the arp-scan command - you will probably have to install it eg: sudo apt-get install arp-scan http://manpages.ubuntu.com/manpages/hardy/man1/arp-scan.1.html And to give further detail: sudo arp-scan --interface=eth0 --localnet Where eth0 is your device. You can find your device with: ifconfig Full answer by Linker3000: https://superuser.com/a/261823 (CC BY-SA 4.0). Need Linux help for your business? UphillTech.