Service and Process Management.


Unfortunately, today HTB didn't give me much time for training on virtual machines. I have only until 12:50, and from 13:00 to 16:00, there's a technical break. Luckily, in the titular section that I could review today, there was only one simple task.

1. Use the "systemctl" command to list all units of services and submit the unit name with the description "Load AppArmor profiles managed internally by snapd" as the answer. 

As I've already mentioned, I decided to take the fast track and get that result in my hands as quickly as possible.

systemctl list-units | grep "AppArmor"

However, this is not an elegant and professional method - only quick. How to do it properly and meticulously? Perhaps like this:

systemctl list-units --type=service --all | grep "Load AppArmor profiles managed internally by snapd"

And only now I'll say, well, I'm satisfied :D




Popular posts from this blog

Task Scheduling and System Services: A Theoretical Overview

Three tasks related to user management.

Working with Web Services.