Linux network scan command
- linux show ip addresses on network
- linux get ip address of network interface
- show ip addresses on my network
- linux see ip addresses on network
List all ip addresses on network ubuntu!
Find All Live Hosts IP Addresses Connected on Network in Linux
As network engineers or penetration testers, we need to find the live hosts on the networks.
Linux ip address command
In today’s guide, we are going to see how to find live hosts on the network. We are going to use the nmap tool to find the live hosts on the network.
Nmap (network mapper) is an open-source command-line tool for network exploration and security auditing.
Nmap is used to scan the networks using the raw IP packets.
Installation
Now let’s see how to install nmap on the different Linux distributions:
For Ubuntu/Debian/Kali Linux systems:
sudo apt-get install nmapFor Arch Linux:
sudo pacman -S nmapFor CentOS:
sudo yum install nmapFor Fedora:
sudo dnf install nmapSyntax
Now we have installed the nmap on the system.
The syntax for nmap use is:
nmap <scan type...> options <target>Here, scan type are the option provided by the nmap. And the target is the IP address or hostname of the network.
Key Options
The following are common options used with Nmap:
Option | Description |
---|---|
-sn
|