Week 8 Homework

Week 8: systemd, systemctl, rfkill, kernel options, etc.🔗

Presentation🔗

Homework🔗

  1. Create unit that will get all messages from the last boot with errors/warning/debug to some log file. There should be a config file, where u state, which priority messages to save.

Hint: Use journalctl and dmesg

  1. Rewrite hello_world unit from the lecture using the timer (If systemd refuses to start a unit each second, trigger it each 10 sec)

  2. write a timer unit that clears all versions except for the last version of the package in pacman cache.

Hint: paccache

All details, like syntax for the config in 1) are up to you. (But bash for scripting is prefered) Just write good README with explanations. If you want to add some functionality, go ahead!

Useful links for the homework:

Questions?🔗

My telegram: @pavlohiley

think twice before writing -_-