Network Interfaces & Local IP
Concept & Overview
Imagine setting up a network printer or sharing files with a friend's computer on the same Wi-Fi, and needing to know your machine's local IP address. In Linux, we inspect our network hardware and IPs using the ip command.
- Running ip addr (or simply ip a) prints a list of all your network interface devices (like eth0 for wired ethernet or wlan0 for wireless) along with their assigned local IP addresses.
ip addr.Command Syntax Reference
| Command / Syntax | Description |
|---|---|
ip addr | Show network interface details and IP addresses |
Verification Objectives
These conditions will be automatically verified when you run commands inside the interactive terminal simulator:
- ○Run the "ip addr" or "ip a" command
Ready to complete Quest 71?
Test your skills live in the browser terminal with an emulated Linux filesystem, real-time command evaluation, and instant step-by-step hints.