Answers for "get local ip linux ubuntu"

4

find ip address on local network ubuntu

Generally, nmap is quite useful to quickly scan networks.

To install nmap, enter the following command in the terminal:

sudo apt-get install nmap

Once the application is installed, enter the following command:

nmap -sn 192.168.1.0/24
Posted by: Guest on June-07-2021
10

display ip address linux

#private ip
hostname -I
or
ifconfig
or
ip addr show

#public ip
curl ifconfig.me
Posted by: Guest on December-02-2020

Python Answers by Framework

Browse Popular Code Answers by Language