Block 5 Flashcards

1
Q

Service control command

A

systemctl

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

Service enable

A

systemctl enable

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

Service lists command

A

systemctl list-units –type=service

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

How to start a service immediately

A

–now

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

Get service status

A

systemctl status

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

Display all processes on system

A

Ps -aux

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

Display all processes that a person started

A

Ps -fu leroy

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

How to show cronjobs for all users

A

Sudo /var/spool/cron/cronjobs

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