Hands-on task
Find your IP address
Every machine on a network has an IP address — that's how other machines find it. Find the IPv4 address of this sandbox — the one on its network card — and write it to /root/my_ip.txt.
You need just the address itself — four numbers separated by dots, without a mask like /24 at the end. The service address 127.0.0.1 won't do: every machine has it.
- ip a
- IP address
- network interfaces