Table 15.2.
Table 15.2 Other systemd Commands
Command Description
systemctl halt Halt the system
systemctl
reboot
Reboot the system
journalctl -
f
Follow the system log file; replaces tail -f
/var/log/message
Services are defined in systemd unit files, which end with .service.
Many examples of these are found in /lib/systemd/system.
There is much more to learn about systemd than is appropriate for a book
with such a wide range of topics to cover—especially as few people need to
know more than is covered here. See the official documentation listed in
“References” section to learn more if you find yourself in need.
Boot-Repair
Sometimes, such as when you install both Windows and Ubuntu on the same
hard drive, boot problems can develop. Boot-Repair is a simple GUI tool you
can use to fix such problems. Typically, it just reinstalls GRUB2, but using
Boot-Repair is a much easier solution for many users. The program is not yet
in the Ubuntu repositories, although plans for including it have been
discussed. In the meanwhile, should you need it, take a look at
https://help.ubuntu.com/community/Boot-Repair or the official
documentation at http://sourceforge.net/projects/boot-repair/.
References
/usr/src/linux/init/main.c—A file that appears on your computer after
you install the kernel source code, which is the best place to learn about
how Linux boots
https://help.ubuntu.com/community/Grub2—Ubuntu community
documentation for GRUB2