• Send Us A Tip
  • Calling all Tech Writers
  • Advertise
Friday, July 24, 2026
  • Login
TechStory
  • News
  • Crypto
  • Gadgets
  • Memes
  • Gaming
  • Cars
  • AI
  • Startups
  • Markets
  • How to
No Result
View All Result
  • News
  • Crypto
  • Gadgets
  • Memes
  • Gaming
  • Cars
  • AI
  • Startups
  • Markets
  • How to
No Result
View All Result
TechStory
No Result
View All Result
Home How to

How to find ip address in Linux

by Khushi Sethi
March 22, 2022
in How to, Tech
Reading Time: 2 mins read
0
How to find ip address in Linux
TwitterWhatsappLinkedin

Whether we realise it or not, we all use the Internet Protocol (IP) on a daily basis. When you type a website address or a search term into your web browser, for example, it looks up the IP address of that URL (or of a search engine) and then loads the website.

You might also like

Grassroots Resistance US Citizens Ramping Up Pressure on Data Centers

The Capex Treadmill Google Battles Cash-Burn Concerns as AI Costs Spiral

How to protect yourself from QR Code Scams?

How to Check the IP Address in Linux: 12 Steps (with Pictures)
Source: Wikihow

Let’s divide IP addresses into private and public categories. Your WiFi box (and company intranet) will provide you with private IP addresses. They’re in the 10.x.x.x, 172.16.x.x, 172.31.x.x, and 192.168.x.x ranges, with x=0 to 255. Public IP addresses are “public,” as the name implies, and can be accessed from anywhere on the planet. Every website has a unique IP address that can be accessed by anyone, from any location; this is referred to as a public IP address.

Furthermore, IP addresses are divided into two categories: IPv4 and IPv6.

The format of IPv4 addresses is x.x.x.x, with x ranging from 0 to 255. There are 232 (approximately 4 billion) IPv4 addresses available.

IPv6 addresses have a more complicated hexadecimal format. There are 2 128—340 undecillion!—possible IPv6 addresses because the total number of bits is 128, which means there are 2 128—340 undecillion!—possible IPv6 addresses. IPv6 was created in order to deal with the impending exhaustion of IPv4 addresses.

Your WiFi router has a public IP address, which is the WAN (wide-area network) IP address, and any device connected to that WiFi will have the same address. The range provided above identifies the private IP addresses of all devices connected to the same WiFi.

The IP address list can be obtained using the following commands to find public IP addresses for your machine:

  • curl ifconfig.me
  • curl -4/-6 icanhazip.com
  • curl ipinfo.io/ip
  • curl api.ipify.org
  • curl checkip.dyndns.org
  • dig +short myip.opendns.com @resolver1.opendns.com
  • host myip.opendns.com resolver1.opendns.com
  • curl ident.me
  • curl bot.whatismyipaddress.com
  • curl ipecho.net/plain

The private IP address of your interfaces can be obtained using the commands below:

  • ifconfig -a
  • ip addr (ip a)
  • hostname -I | awk ‘{print $1}’
  • ip route get 1.2.3.4 | awk ‘{print $7}’
  • (Fedora) Wifi-Settings→ click the setting icon next to the Wifi name that you are connected to → Ipv4 and Ipv6 both can be seen
  • nmcli -p device show
Tags: IP Addresslinuxtechtechnology
Tweet55SendShare15
Previous Post

Top Terra Ecosystem Coins To Follow

Next Post

How to see Instagram private account posts

Khushi Sethi

Recommended For You

Grassroots Resistance US Citizens Ramping Up Pressure on Data Centers

by Anochie Esther
July 24, 2026
0
US citizens ramping up pressure data centers

The physical infrastructure required to power the global artificial intelligence boom is colliding directly with local communities across the United States. As technology giants rush to construct gigawatt-scale...

Read more

The Capex Treadmill Google Battles Cash-Burn Concerns as AI Costs Spiral

by Anochie Esther
July 24, 2026
0
Google burning through cash

The multi-billion-dollar race to achieve artificial intelligence dominance is testing the patience of public equity markets. For years, Silicon Valley's tech titans enjoyed unyielding investor confidence, with shareholders...

Read more

How to protect yourself from QR Code Scams?

by Afeefa Ansari
July 24, 2026
0
QR-Code-Scam

With scamming taking place in heavy amounts every day, it is always a good idea to be thoroughly prepared beforehand. So, let's learn how we can protect ourselves...

Read more
Next Post
How to see Instagram private account posts

How to see Instagram private account posts

Please login to join discussion

Techstory

Tech and Business News from around the world. Follow along for latest in the world of Tech, AI, Crypto, EVs, Business Personalities and more.
reach us at info@techstory.in

Advertise With Us

Reach out at - info@techstory.in

Aviator Game India 2026

BROWSE BY TAG

#Crypto #howto 2024 acquisition AI amazon Apple Artificial Intelligence bitcoin Business China cryptocurrency e-commerce electric vehicles Elon Musk Ethereum facebook funding Gaming Google India Instagram Investment ios iPhone IPO Market Markets Meta Microsoft News OpenAI samsung Social Media SpaceX startup startups tech technology Tesla TikTok trend trending twitter US

© 2025 Techstory.in

No Result
View All Result
  • News
  • Crypto
  • Gadgets
  • Memes
  • Gaming
  • Cars
  • AI
  • Startups
  • Markets
  • How to

© 2025 Techstory.in

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Are you sure want to unlock this post?
Unlock left : 0
Are you sure want to cancel subscription?