Introduction

There are several solutions to find which hosts are up on your network. A simple solution is to use nmap.

Usage

Here’s how to do it:

  nmap -sP your network/submask | awk "/^Host/"'{ print $2 }'
  

Last updated 11 Dec 2009, 19:05 +0200. history