====== Ubuntu - nmap - Find Live hosts in a Network ======
With the help of the **-sP** option nmap can check which hosts are live and up in Network.
This option causes nmap to skip port detection and other things.
sudo nmap -sP 192.168.1.*
result:
Starting Nmap 6.40 ( http://nmap.org ) at 2016-07-08 00:38 BST
Nmap scan report for router.asus.com (192.168.1.1)
Host is up (0.0023s latency).
MAC Address: 08:62:66:8E:D1:78 (Unknown)
Nmap scan report for 192.168.1.2
Host is up (0.011s latency).
MAC Address: 44:A8:42:34:16:49 (Unknown)
Nmap scan report for Felix-Laptop (192.168.1.80)
Host is up (-0.060s latency).
MAC Address: 34:E6:AD:B0:5C:2F (Unknown)
Nmap scan report for android-d8443dafc4d5d365 (192.168.1.141)
Host is up (-0.12s latency).
MAC Address: 14:DD:A9:2D:86:C1 (Unknown)
Nmap scan report for android-166a0df867e23819 (192.168.1.157)
Host is up (0.17s latency).
MAC Address: 14:32:D1:71:82:ED (Unknown)
Nmap scan report for RP-AC52 (192.168.1.169)
Host is up (0.010s latency).
MAC Address: 14:DD:A9:2D:86:C1 (Unknown)
Nmap scan report for peter-laptop-1 (192.168.1.69)
Host is up.
Nmap done: 256 IP addresses (7 hosts up) scanned in 5.84 seconds