FG
💻 Software

How can I list all IPs in the connected network, through Terminal preferably?

Fresh5 days ago
Mar 15, 2026768956 views
Confidence Score1%
1%

Problem

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++.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I list all IPs in the connected network, through Terminal preferably?

Low Risk

Check out the arp-scan command - you will probably have to install it eg: http://manpages.ubuntu.com/manpages/hardy/man1/arp-scan.1.html And to give further detail: Where eth0 is your device. You can find your device with:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment