Table of Contents
An IP Address is used to identify a device on the Internet or a Local Area Network (LAN). It is set up at the network layer of a computer’s operating system. The IP address is used to transit data to and from the computer by all apps running on the computer and accessing other services via the Internet. This is the conventional client-server mode of Internet connection, in which the client application on one computer accesses the server application on another computer, and vice versa.
An IP address may go unnoticed by a non-technical computer user. However, there are many useful tools available from within the terminal window. Take, for example, determining your IP address. Assume you’re running a desktop version of Linux, replete with a desktop environment and all of its capabilities. If you have DHCP enabled on that desktop, it will receive an IP address from a server or router on your network. We have mentioned steps below to check IP address in Linux
How to check IP address in Linux
With the hostname command
“hostname -I”
With the ip addr Command
“ip addr”
With the ifconfig Command
“ifconfig”
Final Words
We hope like our article on How to check IP address in Linux. We all utilize the Internet Protocol (IP) on a regular basis, whether we realize it or not. When you enter a website name or search phrase into your web browser, it looks up the IP address of that URL (or of a search engine) and then loads the website.