Chapter 9: Services and the boot process
systemd and boot quiz
Ten questions across the whole chapter. Each answer explains why. Aim for eight before moving on to chapter 10.
- Which command starts a service now and at every boot?
- A unit is "enabled" but "inactive". What does that mean?
- Where do you put your own unit file?
- After creating a unit file, what must you run?
- Which command shows the log of one service?
- Which target is the usual default for a server without a GUI?
- What does systemctl set-default multi-user.target change?
- Which command shows how long each unit took to start?
- How do you stop a service from ever being started, even as a dependency?
- At the GRUB menu, which key lets you edit the boot entry for this boot only?