FG
💻 Software

Display list of computers on a LAN in Linux

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

Problem

I'm a web dev who is trying to get a better handle on security. I'm trying to figure out a way (on Linux/Debian based distros) to list all computers on the same LAN my netbook is on. I tried "arp -n" but I don't feel it's a complete list, as my iPhone is on the same wi-fi router as my netbook, and that didn't come up. Is there some better way to get a full list of machines that are all sharing the same gateway?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Display list of computers on a LAN in Linux

Low Risk

Get nmap. It's the program Trinity used in The Matrix and you can do a scan to find all of the devices that are connected to the LAN you're on and more. Here's the reference guide.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment