Identify Automatically Started System Processes Flashcards

1
Q

What command lists all installed service units?

A

systemctl list-units –type=service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What command list all socket units, active and inactive?

A

systemctl list-units –type=socket –all

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What command displays the status of a service?

A

systemctl status <service></service>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What command confirms a process is running by PID?

A

ps -p <PID></PID>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What command determines if a service is enabled?

A

systemctl is-enabled <service></service>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What command deterines whether a service is active without display status information?

A

systemctl is-active sshd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What command displays the status of a service?

A

systemctl status <service></service>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What command list disabled or enabled states of all service units?

A

systemctl list-unit-files –type=service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly