An Internet Protocol (IP) address is a numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication. Checking the IP address of a Unix system is essential for network configuration, troubleshooting, and security purposes. There are several ways to check the IP address in Unix, including using the `ifconfig`, `ip`, and `hostname` commands.
The `ifconfig` command is a versatile tool that provides detailed information about network interfaces. To display the IP address of a specific interface, use the following syntax: