Search code examples
network-programmingdiscovery

discover the devices connected to the computer via command line?


I would like to look at all the devices in my network . I would like to do it using the command line .

Is it possible , Please give me directions the name of the tool that would help achieve the purpose .


Solution

  • You need to elaborate on what you mean by 'look' and 'network'. A network could be anything. Do you mean devices on the same subnet as yours? Probably on the same Ethernet cable?

    There are scanners that can scan your subnet and spew out a list of IP addresses that respond to an ICMP echo (Ping).

    You could take a look at 'nmap' too if you want to get additional information about these devices.