How to Find Your IP Address on Ubuntu 24.04: Quick Guide

Don’t know how to find your IP address on Ubuntu 24.04? Let’s see different approaches to do so.

How to Find Your IP Address on Ubuntu 24.04?

There exist several approaches to finding the IP address on Ubuntu 24.04. Let’s check them!

Method 1: Checking the Hostname

You can get to your IP address by simply executing this command:

hostname -I
finding ip address with hostname command on ubuntu 24.04

Method 2: Using the ip Command

This command will provide you with details about the network interfaces available on your system, along with the IP address:

ip a
finding ip address with ip command on ubuntu 24.04

Method 3: Using the nmcli Command

This command will show device details including the IP address:

nmcli device show
finding ip address with nmcli command on ubuntu 24.04

How to Find External IP Address on Ubuntu 24.04?

If you want to know your external IP address then, you can run either of these two commands:

curl ifconfig.me
finding external ip address with curl command on ubuntu 24.04
wget -qO- ifconfig.me
finding external ip address with wget command on ubuntu 24.04

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top