0
In this tip, we will see how to use the 'nmap' command line utility on Ubuntu to scan your local network and display the number of connected machines and the operating systems they use.

First of all, let's install the 'nmap' command line utility. Launch the terminal and issue this command:

sudo apt-get install nmap

To start scanning your local network, run now this command:

nmap -O 192.168.1.1-255 | grep "Running: " | sort | uniq -c

The '-O' option allows to detect the operating system used for the detected computer.

Post a Comment

 
Top