An inventory is a list of what you own, and the first entries are the addresses your own device holds. This set checks that you can read them and tell which one the rest of the network can reach.
Each one is marked as you go, and the explanation arrives straight after, which is
the part worth reading.
4 questions, marked as you go.
Tasks
These need your own device. Run the command in Termux, then paste what it printed.
The marking looks at what the output means, so spacing, version numbers and
ordering do not matter. If you have not installed anything yet, the
lesson covers the setup.
List your own addresses
This lists every interface on your device with its address, one address per line. Paste the lines it prints.
Run this in Termux
On your own device. Nothing on this page executes it. The command runs in
your terminal, and this box only reads what you paste back.
ip -o addr show
Look for the line whose interface is not lo. That is the address the rest of your network can reach.
an interface with an IPv4 address is listed
the loopback address is present
at least two address lines are printed
the command actually ran
What a good answer looks like
One line per address. The lines for the interface lo hold the loopback addresses, 127.0.0.1 and ::1, which only reach the device itself. The lines for your wireless interface, usually wlan0, hold your address on the local network, which is a private address such as 192.168.1.42 with a prefix length after it. The inet lines are IPv4 and the inet6 lines are IPv6. Which interfaces and addresses you see depends on your device, but the loopback is always present and is always the safe one to work against.
Marking your own work
Both halves of this are checked in your browser, with no server involved, so nothing
stops you from pasting output you did not run. The tasks are written so that the
easiest way to pass one is to actually do it and read the result, which is the whole
intention.