In the Unix operating system, the IP (Internet Protocol) address is a unique numerical label assigned to each device connected to a network that uses the Internet Protocol for communication. An IP address serves two main purposes: host or network interface identification and location addressing.
There are several methods to check the IP address in Unix. Here are the most common ones: