Interface evidence capture
Capture interface and route evidence into lab notes.
Understand the pattern
Junior operators build confidence by gathering evidence before changing systems.
ip- Inspect simulated interface and route state.
An interface address, a route, and a reachable service are separate parts of connectivity.
tee- Copy a stream both to a file and standard output; -a appends.
tee can overwrite a file even though the output is also visible on screen.
cat- Read one or more files to standard output without editing their contents.
Reading a source file should precede changing it; avoid printing real secrets.
Worked example and expected result
$ ip addr | tee lab/interface.txt1: lo: <LOOPBACK,UP> mtu 65536
inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,UP> mtu 1500
inet 10.20.30.40/24 scope global eth0Exit status: 0. The command completed successfully in the training fixture.
$ ip route | tee lab/route.txtdefault via 10.20.30.1 dev eth0 proto static 10.20.30.0/24 dev eth0 proto kernel scope link src 10.20.30.40
Exit status: 0. The command completed successfully in the training fixture.
$ cat lab/interface.txt1: lo: <LOOPBACK,UP> mtu 65536
inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,UP> mtu 1500
inet 10.20.30.40/24 scope global eth0Exit status: 0. The command completed successfully in the training fixture.
Explain it
Apply it elsewhere
Keep the momentum.
Complete the lab, then explain and apply the pattern.
Next: Network incident logsTry an incident drillAnonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.