change working env: targets Flashcards

1
Q

A target unit’s main purpose is to synchronize
with the other units on a computer when it boots up,
or when it is instructed to change states.
The most common use for a target
is to get the system into a new state,

A

target

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

show all unit files for available targets

A

systemctl list-unit-files -t

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

show all loaded and active unit files

A

systemctl list-unit -t

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

list out default target

A

systemctl get-default

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

change default target to a different target

A

systemctl set-default

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

will change the running state of the system from current target to a different target

A

systemctl isolate <target></target>

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

almost identical to the System V Init sing-user mode and allows the root user to repair a system

A

systemctl rescue

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

will run the reboot.target that is the same as typing reboot at the cmd prompt

A

systemctl reboot

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

perform a complete shutdown of the system by isolating the system to the poweroff.target - same thing as typing poweroff at cmd prompt

A

systemctl poweroff

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