Linux networking quiz
Ten questions across the whole chapter. Each answer explains why. Aim for eight before moving on to chapter 13.
- Which command shows IP addresses in a short, readable form?
- What does a host need in order to reach other networks?
- Which nmcli command creates a static address on a profile?
- Why does ip addr set by hand disappear after a reboot?
- Which file maps names to addresses locally and is consulted first?
- Which command shows the resolution a program would get?
- hostnamectl set-hostname web1.lab.example.com changes ...
- Which command lists listening TCP ports with the owning program?
- "Connection refused" means ...
- What is a 169.254.x.x address on an interface set to DHCP?