Have you ever wanted to know what devices were on your network, but didn’t want to launch an overly complicated piece of software? When you need that information, and you need it quickly, why not turn to the command line?
Source: LXer – How to find out what’s on your network with Nmap